IHttpSendFileFeature IHttpSendFileFeature IHttpSendFileFeature Interface

Definition

Provides an efficient mechanism for transferring files from disk to the network.

public interface IHttpSendFileFeature
type IHttpSendFileFeature = interface
Public Interface IHttpSendFileFeature
Derived

Methods

SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken) SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken) 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.

Applies to