Response Body Feature Class
An implementation of IHttpResponseBodyFeature that aproximates all of the APIs over the given Stream.
public ref class StreamResponseBodyFeature : Microsoft::AspNetCore::Http::Features::IHttpResponseBodyFeature
public class StreamResponseBodyFeature : Microsoft.AspNetCore.Http.Features.IHttpResponseBodyFeature
type StreamResponseBodyFeature = class interface IHttpResponseBodyFeature
Public Class StreamResponseBodyFeature Implements IHttpResponseBodyFeature
Wraps the given stream.
Wraps the given stream and tracks the prior feature instance.
The prior feature, if any.
The original response body stream.
A PipeWriter adapted over the given stream.
This calls StartAsync if it has not previously been called. It will complete the adapted pipe if it exists.
Opts out of write buffering for the response.
Prevents CompleteAsync from operating.
|SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken)||
Copies the specified file segment to the given response stream. This calls StartAsync if it has not previoulsy been called.
Flushes the given stream if this has not previously been called.