IHttpSendFileFeature Interface

Definition

Warning

This API is now obsolete.

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
Public Interface IHttpSendFileFeature
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