- Initial commit

This commit is contained in:
Timur Kozanov
2026-07-03 05:03:02 +03:00
commit a2f2f85df8
49 changed files with 4460 additions and 0 deletions

18
CHANGELOG.md Normal file
View File

@ -0,0 +1,18 @@
# Changelog
## 3.0.0 (2023-01-01)
__Additions and improvements__
- New namespace hierarchy, instead of `BestHTTP.WebSocket` the WebSocket class is in the `Best.Websockets` namespace.
- The `OnBinary` event now receives a `BufferSegment` and the memory will be reused after the event.
- The `OnClosed` event now receives an [WebSocketStatusCodes](https://bestdocshub.pages.dev/WebSockets/api-reference/WebSockets/WebSocketStatusCodes.md) enum as its status code.
__Removals__
- Removed the `OnBinaryNoAlloc` event.
__Fixes__
- Fixed confusing naming by renaming `StartPingThread` to `SendPings`
- Fixed confusing behavior because of the two closure events `OnError` and `OnClosed` by mergind the two into one `OnClosed` event. The behavior of `OnClosed` is now matching what browsers have.