NAME
Unblock::HTTP3::Response - Uniform HTTP response with HTTP/3 diagnostics
SYNOPSIS
my $response = Unblock::HTTP3::Response->new(
status => 200,
body => "hello\n",
);
DESCRIPTION
Unblock::HTTP3::Response is a thin subclass of Uniform::HTTP::Response.
Uniform::HTTP owns status, reason, version, headers, trailers, buffered body state, fidelity, mutability, and completeness.
Unblock::HTTP3 adds request-stream abort diagnostics.
CONSTRUCTOR
new
Accepts the normal Uniform::HTTP::Response constructor arguments.
METHODS
reset_code
Returns the HTTP/3 reset code recorded for this Response, or undef.
stop_sending_code
Returns the HTTP/3 STOP_SENDING code recorded for this Response, or undef.
is_aborted
True when a reset or STOP_SENDING code has been recorded.
SEE ALSO
Uniform::HTTP::Response, Unblock::HTTP3::Connection, Unblock::HTTP3::Transaction
AUTHOR
Joshua S. Day
LICENSE
This software is available under the MIT License.