/// <summary> /// Sends data to the client with binary message type /// </summary> /// <param name="buffer">Data to send</param> /// <param name="endOfMessage">End of the message?</param> /// <returns>Task to send the data</returns> public Task SendBinary(ArraySegment <byte> buffer, bool endOfMessage) { return(mWebSocket.SendBinary(buffer, endOfMessage, mCancellToken.Token)); }