We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ClusterWS Swift Client provides an easy interface to handle errors.
To handle errors you have to listen delegate method onError:
onError
func onConnect() {} func onDisconnect(code: Int?, reason: String?) {} func onError(error: Error) { if let error = error as? CWSErrors { /** Handling ClusterWS client / server errors */ print(error.localizedDescription) } else { /** Handling web socket / connection errors */ print(error.localizedDescription) } }
1. Home
2. Installation and Configuration
3. Handle Socket
4. Pub/Sub System
5. Client to Client Communication
6. Error Handling