TsgcQUICClient › Methods
TsgcQUICClient Methods
Public methods grouped by purpose, followed by the full alphabetical list.
Connection
| Name | Description |
| Connect | Opens the QUIC connection to the server and waits until it is established or the timeout expires. |
| Disconnect | Closes the QUIC connection to the server and waits until it is closed or the timeout expires. |
| Connected | Returns whether the QUIC connection is currently established. |
| Start | Opens the QUIC connection without blocking, the non-blocking variant of Connect. |
| Stop | Closes the QUIC connection without blocking, the non-blocking variant of Disconnect. |
Sending data
| Name | Description |
| WriteData | Sends data to the server over the default QUIC stream, as text or as raw bytes. |
| WriteStreamData | Writes application bytes to a specific QUIC stream opened with OpenStream. |
Streams
| Name | Description |
| EnableMultiStream | Switches the live connection into multi-stream mode. Required before anything can be received. |
| OpenStream | Opens a new client-initiated QUIC stream on the active connection and returns its wrapper. |
Security
| Name | Description |
| ClearSSLQUIC | Releases the TLS 1.3 session and the cached secure-connection state of the QUIC connection. |
All Methods (alphabetical)
| Name | Description |
| ClearSSLQUIC | Releases the TLS 1.3 session and the cached secure-connection state of the QUIC connection. |
| Connect | Opens the QUIC connection to the server and waits until it is established or the timeout expires. |
| Connected | Returns whether the QUIC connection is currently established. |
| Disconnect | Closes the QUIC connection to the server and waits until it is closed or the timeout expires. |
| EnableMultiStream | Switches the live connection into multi-stream mode. Required before anything can be received. |
| OpenStream | Opens a new client-initiated QUIC stream on the active connection and returns its wrapper. |
| Start | Opens the QUIC connection without blocking, the non-blocking variant of Connect. |
| Stop | Closes the QUIC connection without blocking, the non-blocking variant of Disconnect. |
| WriteData | Sends data to the server over the default QUIC stream, as text or as raw bytes. |
| WriteStreamData | Writes application bytes to a specific QUIC stream opened with OpenStream. |
Availability. ClearSSLQUIC, EnableMultiStream, OpenStream and WriteStreamData exist in the Delphi/C++Builder implementation only. The three stream methods also require the builtin OpenSSL QUIC engine, see TsgcQUICClient.