Overview of WebSocketKit
mainWebSocketKit is an abstraction layer over SwiftNIO's WebSocket implementation. It is designed to simplify the process of building both WebSocket clients and servers in Swift. It provides high-level functionality for:
- Sending and receiving data (text and binary).
- Managing ping/pong frames.
- Handling connection lifecycles.
- Managing WebSocket upgrade requests.