hunt-http ~v0.0.x (2022-05-15T16:04:28.5576772)
Dub
Repo
AbstractWebSocketBuilder.onError
hunt
http
codec
websocket
stream
AbstractWebSocketBuilder
AbstractWebSocketBuilder
Undocumented in source. Be warned that the author may not have intended to support it.
AbstractWebSocketBuilder
onError
(Action2!(Throwable, WebSocketConnection) handler)
class
AbstractWebSocketBuilder
AbstractWebSocketBuilder
onError
(
Action2
!(
Throwable
,
WebSocketConnection
)
handler
)
void
onError
(Throwable t, WebSocketConnection connection)
Meta
Source
See Implementation
hunt
http
codec
websocket
stream
AbstractWebSocketBuilder
AbstractWebSocketBuilder
functions
onData
onError
onFrame
onText
variables
_dataHandler
_errorHandler
_textHandler