C# Class SwiftClient.AspNetCore.VideoStreamResult

Inheritance: Microsoft.AspNetCore.Mvc.FileStreamResult
Afficher le fichier Open project: vtfuture/SwiftClient

Méthodes publiques

Méthode Description
ExecuteResultAsync ( Microsoft.AspNetCore.Mvc.ActionContext context ) : System.Threading.Tasks.Task
VideoStreamResult ( Stream fileStream, Microsoft.Net.Http.Headers.MediaTypeHeaderValue contentType ) : System
VideoStreamResult ( Stream fileStream, string contentType ) : System

Méthodes protégées

Méthode Description
WriteVideoAsync ( HttpResponse response ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
IsMultipartRequest ( Microsoft.Net.Http.Headers.RangeHeaderValue range ) : bool
IsRangeRequest ( Microsoft.Net.Http.Headers.RangeHeaderValue range ) : bool
WriteDataToResponseBody ( HttpResponse response, Microsoft.Net.Http.Headers.RangeItemHeaderValue rangeValue ) : System.Threading.Tasks.Task

Method Details

ExecuteResultAsync() public méthode

public ExecuteResultAsync ( Microsoft.AspNetCore.Mvc.ActionContext context ) : System.Threading.Tasks.Task
context Microsoft.AspNetCore.Mvc.ActionContext
Résultat System.Threading.Tasks.Task

VideoStreamResult() public méthode

public VideoStreamResult ( Stream fileStream, Microsoft.Net.Http.Headers.MediaTypeHeaderValue contentType ) : System
fileStream Stream
contentType Microsoft.Net.Http.Headers.MediaTypeHeaderValue
Résultat System

VideoStreamResult() public méthode

public VideoStreamResult ( Stream fileStream, string contentType ) : System
fileStream Stream
contentType string
Résultat System

WriteVideoAsync() protected méthode

protected WriteVideoAsync ( HttpResponse response ) : System.Threading.Tasks.Task
response HttpResponse
Résultat System.Threading.Tasks.Task