IHttpSendFileFeature Rozhraní

Definice

Upozornění

Use IHttpResponseBodyFeature instead.

Poskytuje účinný mechanismus pro přenos souborů z disku do sítě.

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
Odvozené
Atributy

Metody

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

Odešle požadovaný soubor v těle odpovědi. To může obejít IHttpResponseFeature. body Stream . Odpověď může obsahovat více zápisů.

Platí pro