TsgcHTTP3Client › Methods › Disconnect
Closes the HTTP/3 connection and the underlying QUIC transport.
procedure Disconnect;
Disconnect closes the QUIC connection together with the HTTP/3 control and QPACK streams, and any request still in flight is abandoned. OnDisconnect fires once the connection is closed and Connected returns False afterwards.
Calling Disconnect when the client is not connected is safe and does nothing.
oClient.Disconnect;