Response Body Feature Interface
An aggregate of the different ways to interact with the response body.
public interface class IHttpResponseBodyFeature
public interface IHttpResponseBodyFeature
type IHttpResponseBodyFeature = interface
Public Interface IHttpResponseBodyFeature
The Stream for writing the response body.
A PipeWriter representing the response body, if any.
Flush any remaining response headers, data, or trailers. This may throw if the response is in an invalid state such as a Content-Length mismatch.
Opts out of write buffering for the response.
|SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken)||
Sends the requested file in the response body. A response may include multiple writes.
Starts the response by calling OnStarting() and making headers unmodifiable.