TsgcHTTP3Client › 方法 › Disconnect
关闭 HTTP/3(QUIC)连接。
procedure Disconnect;
Disconnect 关闭与服务器的 QUIC 连接并释放其资源。任何在途请求将被中止,并触发 OnDisconnect。在客户端未连接时调用 Disconnect 无效。断开连接后若要发送更多请求,请再次调用 Connect。
oClient.Disconnect;
返回方法