IHttpSendFileFeature Interfaz

Definición

Precaución

Use IHttpResponseBodyFeature instead.

Proporciona un mecanismo eficaz para transferir archivos desde el disco a la red.

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
Derivado
Atributos

Métodos

SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken)
Obsoletos.

Envía el archivo solicitado en el cuerpo de la respuesta. Esto puede omitir IHttpResponseFeature.Body Stream. Una respuesta puede incluir varias escrituras.

Se aplica a