TsgcHTTP3Client › Events

TsgcHTTP3Client Events

Events grouped by purpose, followed by the full alphabetical list.

Connection

NameDescription
OnConnectFires after the HTTP/3 connection has been established.
OnDisconnectFires after the HTTP/3 connection has been closed.
OnGoAwayFires when the server sends a GOAWAY frame announcing a graceful shutdown.
OnAltSvcFires when the server advertises alternative services through the alt-svc header.

Requests and Responses

NameDescription
OnResponseFires when a complete HTTP/3 response has been received.
OnHTTP3BeforeRequestFires before a request is sent, allowing the header list to be modified.

Errors

NameDescription
OnErrorFires when a request or connection error occurs. Essential for async requests.
OnHTTP3ExceptionFires when an exception is raised while processing the connection.

Server Push

NameDescription
OnPushPromiseFires when the server promises to push a resource, before the response arrives.
OnPushFires when a complete pushed response has been received.

Tunnel

NameDescription
OnTunnelDataFires for every DATA frame arriving on an established Extended CONNECT tunnel.

All Events (alphabetical)

NameDescription
OnAltSvcFires when the server advertises alternative services through the alt-svc header.
OnConnectFires after the HTTP/3 connection has been established.
OnDisconnectFires after the HTTP/3 connection has been closed.
OnErrorFires when a request or connection error occurs.
OnGoAwayFires when the server sends a GOAWAY frame announcing a graceful shutdown.
OnHTTP3BeforeRequestFires before a request is sent, allowing the header list to be modified.
OnHTTP3ExceptionFires when an exception is raised while processing the connection.
OnPushFires when a complete pushed response has been received.
OnPushPromiseFires when the server promises to push a resource, before the response arrives.
OnResponseFires when a complete HTTP/3 response has been received.
OnTunnelDataFires for every DATA frame arriving on an established Extended CONNECT tunnel.