This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Description
If the device disconnected from the WebSocket, the delegate will trigger func websocketDidDisconnect(socket:error:), and print lots of logs by:
print("error: \(error)")
It is not ideal for release build, so this pull request adds a property "shouldPrintWebSocketLog" for class Client. By default this value is true, and you can turn the logs off by setting it false.
Here is my pull request about this issue.