Initializer
WebSocketBaseEndpoint(Matcher path, void onOpen(WebSocketChannel channel) = ..., void onClose(WebSocketChannel channel, CloseReason closeReason) = ..., void onError(WebSocketChannel channel, Throwable? throwable) = ...)
Parameters:
  • onOpen = (WebSocketChannel channel) => noop()
  • onClose = (WebSocketChannel channel, CloseReason closeReason) => noop()
  • onError = (WebSocketChannel channel, Throwable? throwable) => noop()
Inherited Attributes
Attributes inherited from: EndpointBase
Attributes inherited from: Object
Methods
onCloseSource Codeshared void onClose(WebSocketChannel channel, CloseReason closeReason)
onErrorSource Codeshared void onError(WebSocketChannel channel, Throwable? throwable)
onOpenSource Codeshared void onOpen(WebSocketChannel channel)
Inherited Methods
Methods inherited from: Object