795 B
795 B
Changelog
3.0.0 (2023-01-01)
Additions and improvements
- New namespace hierarchy, instead of
BestHTTP.WebSocketthe WebSocket class is in theBest.Websocketsnamespace. - The
OnBinaryevent now receives aBufferSegmentand the memory will be reused after the event. - The
OnClosedevent now receives an WebSocketStatusCodes enum as its status code.
Removals
- Removed the
OnBinaryNoAllocevent.
Fixes
- Fixed confusing naming by renaming
StartPingThreadtoSendPings - Fixed confusing behavior because of the two closure events
OnErrorandOnClosedby mergind the two into oneOnClosedevent. The behavior ofOnClosedis now matching what browsers have.