Protocols
The following protocols are available globally.
-
The
See moreWebSocketService
protocol is implemented by classes that wish to be WebSocket server side end points. An instance of theWebSocketService
protocol is the server side of a WebSocket connection. There can be many WebSocket connections connected to a singleWebSocketService
protocol instance. The protocol is a set of callbacks that are invoked when various events occur.Declaration
Swift
public protocol WebSocketService : AnyObject