Jaa


SendFileResponseExtensions.SupportsSendFile Method (IOwinResponse)

 

Checks if the SendFile extension is supported.

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

Syntax

public static bool SupportsSendFile(
    this IOwinResponse response
)
public:
[ExtensionAttribute]
static bool SupportsSendFile(
    IOwinResponse^ response
)
static member SupportsSendFile : 
        response:IOwinResponse -> bool
<ExtensionAttribute>
Public Shared Function SupportsSendFile (
    response As IOwinResponse
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if sendfile.SendAsync is defined in the environment.

See Also

SendFileResponseExtensions Class
Microsoft.Owin Namespace

Return to top