- Enclosing interface:
- WebSocket
public static interface WebSocket.OnError
On error callback. Generated when unexpected error occurs.
-
Method Summary
-
Method Details
-
onError
Error callback, let you listen for exception. Websocket might or might not be open.- Parameters:
ws
- Websocket.cause
- Cause.
-