目录
目录README.md

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
关于
45.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号