Bagikan melalui


IHttpSendFileFeature Antarmuka

Definisi

Perhatian

Use IHttpResponseBodyFeature instead.

Menyediakan mekanisme yang efisien untuk mentransfer file dari disk ke jaringan.

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
Turunan
Atribut

Metode

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

Mengirim file yang diminta dalam isi respons. Ini dapat melewati IHttpResponseFeature.Body Stream. Respons dapat mencakup beberapa tulisan.

Berlaku untuk