TsgcHTTP2Client › Methods › Disconnect
Immediately closes the underlying TCP/TLS socket without sending a GOAWAY frame.
procedure Disconnect;
This is an abrupt shutdown: any in-flight streams are aborted and pending writes are discarded. When a clean notification to the peer is required, call Close first so a GOAWAY frame is sent, and only then tear down the transport with Disconnect. Fires OnHTTP2Disconnect.
oClient.Disconnect;