Exemplo n.º 1
0
        private async Task <bool> SendRawAsync(string message)
        {
            var buffer = Constant.GetBytes(message);

            return(await SendRawAsync(buffer));
        }
Exemplo n.º 2
0
        public async Task <bool> SendStringAsync(string message)
        {
            var buffer = Constant.GetBytes(message);

            return(await SendFrameAsync(OpCode.Text, buffer));
        }