IHttpSendFileFeature Интерфейс

Определение

Внимание!

Use IHttpResponseBodyFeature instead.

Предоставляет эффективный механизм для передачи файлов с диска в сеть.

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
Производный
Атрибуты

Методы

SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken)
Устаревшие..

Отправляет запрошенный файл в тексте ответа. Это может обойти IHttpResponseFeature.Body Stream. Ответ может включать несколько операций записи.

Применяется к