TsgcHTTP2Client › Methods
Public methods grouped by purpose, followed by the full alphabetical list.
| Name | Description |
|---|---|
| Connect | Opens the HTTP/2 connection and issues a synchronous GET to the supplied URL. |
| ConnectAsync | Opens the HTTP/2 connection and issues a non-blocking GET; the reply is delivered on OnHTTP2Response. |
| Disconnect | Closes the underlying TCP/TLS socket immediately without sending a GOAWAY frame. |
| Close | Performs a graceful shutdown by sending a GOAWAY frame with an error code and optional debug text. |
| Ping | Sends an HTTP/2 PING frame to probe liveness and measure round-trip time. |
| Name | Description |
|---|---|
| Get | Sends a synchronous HTTP/2 GET request and returns the response body. |
| Post | Sends a synchronous HTTP/2 POST request with a stream payload. |
| Put | Sends a synchronous HTTP/2 PUT request with a stream payload. |
| Delete | Sends a synchronous HTTP/2 DELETE request to remove the target resource. |
| Options | Sends a synchronous HTTP/2 OPTIONS request to inspect the resource's capabilities. |
| Patch | Sends a synchronous HTTP/2 PATCH request with a partial-update payload. |
| Trace | Sends a synchronous HTTP/2 TRACE request used as a loop-back diagnostic. |
| Head | Sends a synchronous HTTP/2 HEAD request returning only response headers. |
| Name | Description |
|---|---|
| PostAsync | Sends a non-blocking POST; the reply arrives on OnHTTP2Response. |
| PutAsync | Sends a non-blocking PUT; the reply arrives on OnHTTP2Response. |
| DeleteAsync | Sends a non-blocking DELETE; the reply arrives on OnHTTP2Response. |
| OptionsAsync | Sends a non-blocking OPTIONS; the reply arrives on OnHTTP2Response. |
| PatchAsync | Sends a non-blocking PATCH; the reply arrives on OnHTTP2Response. |
| TraceAsync | Sends a non-blocking TRACE; the reply arrives on OnHTTP2Response. |
| Name | Description |
|---|---|
| Close | Performs a graceful shutdown by sending a GOAWAY frame with an error code and optional debug text. |
| Connect | Opens the HTTP/2 connection and issues a synchronous GET to the supplied URL. |
| ConnectAsync | Opens the HTTP/2 connection and issues a non-blocking GET; the reply is delivered on OnHTTP2Response. |
| Delete | Sends a synchronous HTTP/2 DELETE request to remove the target resource. |
| DeleteAsync | Sends a non-blocking DELETE; the reply arrives on OnHTTP2Response. |
| Disconnect | Closes the underlying TCP/TLS socket immediately without sending a GOAWAY frame. |
| Get | Sends a synchronous HTTP/2 GET request and returns the response body. |
| Head | Sends a synchronous HTTP/2 HEAD request returning only response headers. |
| Options | Sends a synchronous HTTP/2 OPTIONS request to inspect the resource's capabilities. |
| OptionsAsync | Sends a non-blocking OPTIONS; the reply arrives on OnHTTP2Response. |
| Patch | Sends a synchronous HTTP/2 PATCH request with a partial-update payload. |
| PatchAsync | Sends a non-blocking PATCH; the reply arrives on OnHTTP2Response. |
| Ping | Sends an HTTP/2 PING frame to probe liveness and measure round-trip time. |
| Post | Sends a synchronous HTTP/2 POST request with a stream payload. |
| PostAsync | Sends a non-blocking POST; the reply arrives on OnHTTP2Response. |
| Put | Sends a synchronous HTTP/2 PUT request with a stream payload. |
| PutAsync | Sends a non-blocking PUT; the reply arrives on OnHTTP2Response. |
| Trace | Sends a synchronous HTTP/2 TRACE request used as a loop-back diagnostic. |
| TraceAsync | Sends a non-blocking TRACE; the reply arrives on OnHTTP2Response. |