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

Conversation

@ananfang
Copy link
Contributor

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.

@flovilmart
Copy link
Contributor

let'S go with it! Thanks!

@flovilmart flovilmart merged commit 71cfa0a into parse-community:master Dec 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants