SendFileMiddleware Class

 

This middleware provides an efficient fallback mechanism for sending static files when the server does not natively support such a feature. The caller is responsible for setting all headers in advance. The caller is responsible for performing the correct impersonation to give access to the file.

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

System::Object
  Microsoft.Owin.StaticFiles::SendFileMiddleware

public ref class SendFileMiddleware 

NameDescription
System_CAPS_pubmethodSendFileMiddleware(Func<IDictionary<String^, Object^>^, Task^>^)

Creates a new instance of the SendFileMiddleware.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInvoke(IDictionary<String^, Object^>^)

Adds the sendfile.SendAsync Func to the request environment, if not already present.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: