- Performance: Remove unnecessary periodic WebSocket state check.
- Performance: Remove unnecessary try-catches.
- Fix: Use
ws.CloseOutputAsync()to prevent eternal waiting for remote close frame. - Fix: Collect sent closure message.
- Tests: Add
[DebuggerDisplay]attribute onWebSocketMessage. - Tests: Allow run TestClient from both command line and Visual Studio.
- Docs: Add Keep-Alive explanations.
- Feature: Customizable buffer size.
- Performance: Remove initial capacity from accumulator MemoryStream when receiving messages.
- Feature:
msg.FormatForLogging()method. - Performance:
WebSocketMessagebacked by byte arrays when possible, to avoid instantiating MemoryStreams. - Performance: Accumulator MemoryStream with initial size when receiving messages.
- Tests: TestClient tests split in many classes and with parallel runs.
- Tests: Prevent file access collisions in FullConversationTest.
- Tests: TestServer single-line console log messages.
- Feature: Collect messages only from the opposite side.
- Performance: Reuse
MemoryStream accumulatorin the constructor of received messages. - Tests: Add
ServerExceptionConversationtest.
First release!