Skip to content

Publish v1.1.0

Compare
Choose a tag to compare
@luca-schlecker luca-schlecker released this 04 May 19:50
· 6 commits to main since this release
  • Add WebSocket.Available Property indicating the number of available messages
  • Make BackgroundMessagePoller.Poll cancellable
  • Introduce BackgroundMessagePoller.TryStopPolling(WebSocket) used to stop the background polling without a cancellation token
  • Flush outgoing Frames when closing
  • WebSocket.Send now creates the according Frames for a Message synchronously inside the function call
    -AsyncQueue.Count and AsyncQueue.IsClosed now return proper values
  • Introduce AsyncQueue buffer-limit and make .Enqueue calls wait until the count of currently queued items is below that limit (keeps the queue from arbitrarily growing in size if ingress speed is greater than egress speed)
  • Fix a bug where sometimes a Frame would be read incorrectly leading to all subsequent frames being read incorrectly and often ending up in crashes because of too large memory allocation requests