William Weilep
William Weilep
Hi @deniszykov What would the equivalent be for writing binary data? I seem to run into the same issue on the binary side, and my best approximation to the WriteStringAsync...
@deniszykov unfortunately, I haven't found any clean code that really works well. Simply using ` using (var writer = _socket.CreateMessageWriter(WebSocketMessageType.Binary)) { await writer.WriteAsync(data, 0, data.Length, _cancellationTokenSource.Token).ConfigureAwait(false); } ` Seems to...
@deniszykov I was curious so I made a test project, and I was able to get the BeginWrite lock exception to occur with WriteStringAsync as well. This is obviously a...
Makes sense. Would be nice to see something reflected as such in samples or documentation, especially with `CreateMessageWriter` being hidden behind something like `WriteStringAsync`.