IHttpSendFileFeature Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use IHttpResponseBodyFeature instead.
Provides an efficient mechanism for transferring files from disk to the network.
public interface class IHttpSendFileFeature
public interface IHttpSendFileFeature
[System.Obsolete("Use IHttpResponseBodyFeature instead.", true)]
public interface IHttpSendFileFeature
type IHttpSendFileFeature = interface
[<System.Obsolete("Use IHttpResponseBodyFeature instead.", true)>]
type IHttpSendFileFeature = interface
Public Interface IHttpSendFileFeature
- Derived
- Attributes
Methods
SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken) |
Sends the requested file in the response body. This may bypass the IHttpResponseFeature.Body Stream. A response may include multiple writes. |