TsgcHTTP2Client › Events
Events you can handle, grouped by purpose, followed by the full alphabetical list.
| Name | Description |
|---|---|
| OnHTTP2Connect | Fires just after the client connects successfully to the HTTP/2 server. |
| OnHTTP2Disconnect | Fires when the HTTP/2 connection has been closed. |
| OnHTTP2Exception | Fires when an exception is raised on the HTTP/2 connection so the application can handle it. |
| OnHTTP2GoAway | Fires when the server sends a GoAway frame signalling the connection is being shut down. |
| Name | Description |
|---|---|
| OnHTTP2Response | Fires when the client receives the full response (status, headers and body) from the server. |
| OnHTTP2ResponseFragment | Fires for each streamed response fragment when FragmentedData delivers data as it arrives. |
| OnHTTP2PushPromise | Fires when the server pushes a resource so the client can accept or cancel it. |
| OnHTTP2RSTStream | Fires when the server resets a specific HTTP/2 stream. |
| Name | Description |
|---|---|
| OnHTTP2BeforeRequest | Fires just before request headers are sent so the application can add or modify them. |
| OnHTTP2PendingRequests | Fires after a disconnection when there are pending requests so the application can reconnect or clear the queue. |
| OnHTTP2Authorization | Fires when the server requires authentication so the application can supply credentials or a bearer token. |
| Name | Description |
|---|---|
| OnSSLGetHandler | Fires before the SSL handler is created so a custom handler instance can be supplied. |
| OnSSLAfterCreateHandler | Fires after the SSL handler has been created so its properties can be customized. |
| Name | Description |
|---|---|
| OnHTTP2Authorization | Fires when the server requires authentication so the application can supply credentials or a bearer token. |
| OnHTTP2BeforeRequest | Fires just before request headers are sent so the application can add or modify them. |
| OnHTTP2Connect | Fires just after the client connects successfully to the HTTP/2 server. |
| OnHTTP2Disconnect | Fires when the HTTP/2 connection has been closed. |
| OnHTTP2Exception | Fires when an exception is raised on the HTTP/2 connection so the application can handle it. |
| OnHTTP2GoAway | Fires when the server sends a GoAway frame signalling the connection is being shut down. |
| OnHTTP2PendingRequests | Fires after a disconnection when there are pending requests so the application can reconnect or clear the queue. |
| OnHTTP2PushPromise | Fires when the server pushes a resource so the client can accept or cancel it. |
| OnHTTP2Response | Fires when the client receives the full response (status, headers and body) from the server. |
| OnHTTP2ResponseFragment | Fires for each streamed response fragment when FragmentedData delivers data as it arrives. |
| OnHTTP2RSTStream | Fires when the server resets a specific HTTP/2 stream. |
| OnSSLAfterCreateHandler | Fires after the SSL handler has been created so its properties can be customized. |
| OnSSLGetHandler | Fires before the SSL handler is created so a custom handler instance can be supplied. |