C# Class SwiftClient.AspNetCore.Demo.Controllers.HomeController

Inheritance: Microsoft.AspNetCore.Mvc.Controller
Mostrar archivo Open project: vtfuture/SwiftClient

Public Methods

Method Description
DownloadFile ( string containerId, string objectId ) : Task
HomeController ( ISwiftClient swiftClient ) : System.Collections.Generic
Index ( ) : Task
PlayVideo ( string containerId, string objectId ) : Task
RefreshTree ( ) : Task
UploadChunk ( int segment ) : Task
UploadDone ( int segmentsCount, string fileName, string contentType ) : Task

Private Methods

Method Description
GetContainerBranch ( string containerId ) : Task
GetObjectBranch ( string containerId, string prefixObj, List objectIds ) : List
GetTree ( ) : Task

Method Details

DownloadFile() public method

public DownloadFile ( string containerId, string objectId ) : Task
containerId string
objectId string
return Task

HomeController() public method

public HomeController ( ISwiftClient swiftClient ) : System.Collections.Generic
swiftClient ISwiftClient
return System.Collections.Generic

Index() public method

public Index ( ) : Task
return Task

PlayVideo() public method

public PlayVideo ( string containerId, string objectId ) : Task
containerId string
objectId string
return Task

RefreshTree() public method

public RefreshTree ( ) : Task
return Task

UploadChunk() public method

public UploadChunk ( int segment ) : Task
segment int
return Task

UploadDone() public method

public UploadDone ( int segmentsCount, string fileName, string contentType ) : Task
segmentsCount int
fileName string
contentType string
return Task