Response Feature Interface
Represents the fields and state of an HTTP response.
public interface class IHttpResponseFeature
public interface IHttpResponseFeature
type IHttpResponseFeature = interface
Public Interface IHttpResponseFeature
The Stream for writing the response body.
The response headers to send. Headers with multiple values will be emitted as multiple headers.
The reason-phrase as defined in RFC 7230. Note this field is no longer supported by HTTP/2.
The status-code as defined in RFC 7230. The default value is 200.
Registers a callback to be invoked after a response has fully completed. This is intended for resource cleanup.