A package declaring a simple protocol for WebSocket clients to adhere to. This protocol is intended to be able to be used to abstract away URLSessionWebSocketTask
and Starscream, but it could be easily used for other WebSocket clients.
- In your Terminal, navigate to the
WebSocketProtocol
directory - Open the
WebSocketProtocol
Swift package using Xcode - Make sure the build target is macOS
- Product -> Test
- In your Terminal, navigate to the
WebSocketProtocol
directory - Open the
WebSocketProtocol
directory in another Terminal window - Run the tests using
swift test