Esempio n. 1
0
        public async Task Terminate(string reason = null)
        {
            await Send(new ConnectionTerminatingMessage(reason));

            await _transport.DisconnectAsync();

            _connectionTerminator.Terminate(ClientId);
            Dispose();
        }