17 Commits over 1,066 Days - 0.00cph!
Downgrades to work nicely in Unity
▄▍▊ ▅▉▌▋▅▉▊▄█▊▇▆▊ ▆▍▉▄▄ ▊▆▅ ▍▇▉▉▆▉▆
Add an overload to send raw UTF8 bytes as a text message
Fix soft closing not being used as of the last commit
Call OnError for write errors too
Always call the SendBytes callback - pass a bool indicating if it worked or not
Fix WebSocketConnection.Close possibly being ignored when a socket read fails
Remove default console logging
Only call LogAction if that level is enabled
Allow LogAction to be null
Send MemoryBuffers instead to take advantage of the pooling
BinaryDataHandler uses Span<byte> instead because it refers to the internal receive buffer
Some MemoryBuffer improvements
More allocation reduction (send, etc)
Delegate allocation reduction, receiving data shouldn't allocate now
Fix large frames reading incorrectly, use ArraySegment for binary message sending (easier for pooling)
More allocation reduction, more subprotocol removal, large incoming messages (>4KB) are delayed for some reason right now
Fixed sending larger messages, return buffers to pool when done with them
First pass, only somewhat broken
Stripping out things (older protocol handlers, subprotocols, custom headers, cookies, flash socket policy)