Skip to content

Local-Connectivity-Lab/websocket-kit

 
 

Repository files navigation

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.

Packages

No packages published

Languages

  • Swift 100.0%