Share via


IHttpSendFileFeature Interface

Definition

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.

Applies to