Response Feature Interface
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the fields and state of an HTTP response.
public interface class IHttpResponseFeature
public interface IHttpResponseFeature
type IHttpResponseFeature = interface
Public Interface IHttpResponseFeature
Gets or sets the Stream for writing the response body.
Gets a value that indicates if the response has started.
Gets or sets the response headers to send. Headers with multiple values will be emitted as multiple headers.
Gets or sets the reason-phrase as defined in RFC 7230. Note this field is no longer supported by HTTP/2.
Gets or sets the status-code as defined in RFC 7230.
Registers a callback to be invoked after a response has fully completed. This is intended for resource cleanup.
Registers a callback to be invoked just before the response starts.