Skip to content

Latest commit

 

History

History
33 lines (32 loc) · 1.66 KB

File metadata and controls

33 lines (32 loc) · 1.66 KB

NIOWebSocketClient

API Docs Team Chat MIT License Continuous Integration Swift 5.6 Swift 5.8

This is a custom build of Vapor's Websocket Kit. Following changes are made:

  • BufferWritableMonitorDelegate: a delegate that receives the amount of buffered bytes from the channel. This is not the actual representation of buffered bytes in the channel, but more of an estimate.
  • BufferWritableMonitorHandler: a channel duplexer that handles buffering and report the buffered amount to the delegate.
  • writeBufferWaterMark: the water mark that defines the amount of bytes that will be buffered in the channel.
  • WebSocketClient, WebSocket that uses the aforementioned utilities.