WebSocketProtocol

2.3.2

shareup/websocket-protocol

What's New

v2.3.2

2021-11-08T15:14:27Z

Require watchOS 6 because watchOS 5 doesn't support Combine.

WebSocketProtocol

(macOS, iOS, iPadOS, tvOS, and watchOS)

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.

Tests

Using Xcode

  1. In your Terminal, navigate to the WebSocketProtocol directory
  2. Open the WebSocketProtocol Swift package using Xcode
  3. Make sure the build target is macOS
  4. Product -> Test

Using swift test

  1. In your Terminal, navigate to the WebSocketProtocol directory
  2. Open the WebSocketProtocol directory in another Terminal window
  3. Run the tests using swift test

Description

  • Swift Tools 5.3.0
View More Packages from this Author

Dependencies

  • None
Last updated: Mon Oct 21 2024 01:17:18 GMT-0900 (Hawaii-Aleutian Daylight Time)