TsgcHTTP3Client › 方法 › Disconnect

Disconnect 方法

关闭 HTTP/3(QUIC)连接。

语法

procedure Disconnect;

备注

Disconnect 关闭与服务器的 QUIC 连接并释放其资源。任何在途请求将被中止,并触发 OnDisconnect。在客户端未连接时调用 Disconnect 无效。断开连接后若要发送更多请求,请再次调用 Connect。

示例


oClient.Disconnect;

返回方法