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

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

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