示例#1
0
        public static Task Close(this ITransportConnection connection)
        {
            var command = new SignalCommand
            {
                Type = CommandType.Disconnect
            };

            return(connection.SendCommand(command));
        }