Compartilhar via


SendFileResponseExtensions Class

 

Provides extensions for IOwinResponse exposing the SendFile extension.

Namespace:   Microsoft.Owin
Assembly:  Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Owin.SendFileResponseExtensions

Syntax

public static class SendFileResponseExtensions
[ExtensionAttribute]
public ref class SendFileResponseExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type SendFileResponseExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class SendFileResponseExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static SendFileAsync(IOwinResponse, String)

Sends the given file using the SendFile extension.

System_CAPS_pubmethodSystem_CAPS_static SendFileAsync(IOwinResponse, String, Int64, Nullable<Int64>, CancellationToken)

Sends the given file using the SendFile extension.

System_CAPS_pubmethodSystem_CAPS_static SupportsSendFile(IOwinResponse)

Checks if the SendFile extension is supported.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin Namespace

Return to top