public async Task OnDataArrived(WebSocket socket, byte[] data)
        {
            SpeechToTextResult result = null;

            try
            {
                socket.Send(string.Format("Received : {0}", data.Length));

                var speechers = new GoogleSpeechToText();
                result = await speechers.ConvertToTextAsync(data);

                socket.Send(result.Raw);
                socket.Send(result.Hypotheses.First().Utterance);
            }
            catch (Exception e)
            {
                socket.Send(e.Message);
            }
        }
 public void OnMessageArrived(WebSocket socket, string message)
 {
     socket.Send(message);
 }