Changelog¶
3.0.6 (2024-09-09)¶
Additions and improvements
- Switched to the new UTC date×
3.0.5 (2024-06-20)¶
Fixes
- Set the
MaxBufferSize
property (introduced in Best HTTP v3.0.10) of the underlying content provider to support larger than default size websocket frames.
3.0.4 (2024-05-20)¶
Additions and improvements
- WebGL: Support added for WebAssembly.Table language feature.
- Logging: Added missing contexts.
Fixes
- Fixed case where websocket closed with pong timeout error even if it's received the pong frame.
- Per-Message Compression: Fixed exception when
server_no_context_takeover
isn't supported by the server. - Properly dispose underlying
TCPStreamer
when the connection is closed by the server. - Fixed log level and message in
OnCancellationRequested
callback.
3.0.3 (2024-04-12)¶
Additions and improvements
- Don't allow ping timeouts if messages are arriving from the server and pong is delayed.
- Dispose an
AutoResetEvent
.
Fixes
- (#192) Fixed frame size calculation that resulted in malformed frame reads.
3.0.2 (2024-02-14)¶
Additions and improvements
- Made ping sending independent from other messages.
- [WebGL] Improved performance under WebGL by using BufferPool arrays from the JS side for textual and binary messages, and doing less data copy.
- [WebGL] Added support to send texts with NULL(\0) characters.
Fixes
- Pings sent even if
SendPings
were set tofalse
.
3.0.1 (2023-12-04)¶
Fixes
- Fixed support of BESTHTTP_DISABLE_ALTERNATE_SSL.
3.0.0 (2023-11-01)¶
Additions and improvements
- Added modularity: previously bundled within a larger asset, the Best WebSockets functionality has been separated out, creating a dedicated package that builds upon the core capabilities of the Best HTTP package for streamlined and focused WebSocket communication.
- Enhanced connection capabilities: utilizes the improved connection mechanisms provided by the Best HTTP package for faster connections.
- New namespace hierarchy: WebSockets-related classes have been moved from
BestHTTP.WebSocket
to theBest.Websockets
namespace. - The
OnBinary
event now receives aBufferSegment
and the memory will be reused after the event. - The
OnClosed
event now receives an WebSocketStatusCodes enum as its status code.
Removals
- Removed the
OnBinaryNoAlloc
event.
Fixes
- Fixed confusing naming by renaming
StartPingThread
toSendPings
- Fixed confusing behavior because of the two closure events
OnError
andOnClosed
by mergind the two into oneOnClosed
event. The behavior ofOnClosed
is now matching what browsers have.