DisconnectWithReason method
Implementation
Future<void> DisconnectWithReason(
HangingRequestDisconnectReason reason, Exception? exception) async {
if (this.IsConnected) {
this._response.Close();
await this._InternalOnDisconnect(reason, exception);
}
}