NAME

PAGI::Test::ConnectionState - the pagi.connection object provided by PAGI::Test

DESCRIPTION

PAGI::Test is a test server, so it provides the per-request pagi.connection object. It implements the surface PAGI::Request/PAGI::Context delegate to (is_connected, disconnect_reason, disconnect_future, on_disconnect, on_complete) plus response_started, mirroring production PAGI::Server::ConnectionState: a clean completion ends the request and fires on_complete but is not a disconnect; exactly one of on_complete / on_disconnect fires.