Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- response
Type: Microsoft.Owin.IOwinResponse
Return Value
Type: System.Boolean
True if sendfile.SendAsync is defined in the environment.
See Also
SendFileResponseExtensions Class
Microsoft.Owin Namespace
Return to top