TsgcQUICClient › Methods

TsgcQUICClient Methods

Public methods grouped by purpose, followed by the full alphabetical list.

Connection

NameDescription
ConnectOpens the QUIC connection to the server and waits until it is established or the timeout expires.
DisconnectCloses the QUIC connection to the server and waits until it is closed or the timeout expires.
ConnectedReturns whether the QUIC connection is currently established.
StartOpens the QUIC connection without blocking, the non-blocking variant of Connect.
StopCloses the QUIC connection without blocking, the non-blocking variant of Disconnect.

Sending data

NameDescription
WriteDataSends data to the server over the default QUIC stream, as text or as raw bytes.
WriteStreamDataWrites application bytes to a specific QUIC stream opened with OpenStream.

Streams

NameDescription
EnableMultiStreamSwitches the live connection into multi-stream mode. Required before anything can be received.
OpenStreamOpens a new client-initiated QUIC stream on the active connection and returns its wrapper.

Security

NameDescription
ClearSSLQUICReleases the TLS 1.3 session and the cached secure-connection state of the QUIC connection.

All Methods (alphabetical)

NameDescription
ClearSSLQUICReleases the TLS 1.3 session and the cached secure-connection state of the QUIC connection.
ConnectOpens the QUIC connection to the server and waits until it is established or the timeout expires.
ConnectedReturns whether the QUIC connection is currently established.
DisconnectCloses the QUIC connection to the server and waits until it is closed or the timeout expires.
EnableMultiStreamSwitches the live connection into multi-stream mode. Required before anything can be received.
OpenStreamOpens a new client-initiated QUIC stream on the active connection and returns its wrapper.
StartOpens the QUIC connection without blocking, the non-blocking variant of Connect.
StopCloses the QUIC connection without blocking, the non-blocking variant of Disconnect.
WriteDataSends data to the server over the default QUIC stream, as text or as raw bytes.
WriteStreamDataWrites 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.