private async Task <bool> SendRawAsync(string message) { var buffer = Constant.GetBytes(message); return(await SendRawAsync(buffer)); }
public async Task <bool> SendStringAsync(string message) { var buffer = Constant.GetBytes(message); return(await SendFrameAsync(OpCode.Text, buffer)); }