Optional
extensions: ExtensionsCreates and returns a new instance of the HttpResponse object.
The new instance contains the same status, headers, body, and extensions as the original.
This is mainly useful if you have a ReadonlyHttpResponse and need to make modifications to it.
Writes the response data, including headers and body, to the provided
ServerResponse
.
Static
builderCreates and returns a new instance of the HttpResponseBuilder.
Static
fromCreates a new immutable HttpResponse
instance from the given
HttpResponseLike object.
Represents an HTTP response.