Classes
The following classes are available globally.
-
The implementation of the ConnectionUpgradeFactory protocol for the WebSocket protocol. Participates in the HTTP protocol upgrade process when upgarding to the WebSocket protocol.
See moreDeclaration
Swift
public class WSConnectionUpgradeFactory : ConnectionUpgradeFactory
-
Main class for the Kitura-WebSocket API. Used to register
See moreWebSocketService
classes that will handle WebSocket connections for specific paths.Declaration
Swift
public class WebSocket
-
Represents a specific WebSocket connection. Provides a unique identifier for the connection and APIs to send messages and control commands to the client at the other end of the connection.
See moreDeclaration
Swift
public class WebSocketConnection