A ReadStream of ServerWebSocket, used for notifying web socket connections to a HttpServer.
Anything
ServerWebSocketStream
Basic
Identifiable
Object
Anything
no subtypes hierarchy
Initializer |
ServerWebSocketStream(ServerWebSocketStream unknown) |
Inherited Attributes |
Attributes inherited from: Object hash , string |
Methods | |
endHandler | shared actual default ServerWebSocketStream endHandler(Anything()? endHandler) Set an end handler. Once the stream has ended, and there is no more data to be read, this handler will be called. Refines ReadStream.endHandler |
exceptionHandler | shared actual default ServerWebSocketStream exceptionHandler(Anything(Throwable)? handler) Set an exception handler. Refines StreamBase.exceptionHandler |
handler | shared actual default ServerWebSocketStream handler(Anything(ServerWebSocket)? handler) Set a data handler. As data is read, the handler will be called with the data. Refines ReadStream.handler |
pause | shared actual default ServerWebSocketStream pause() Pause the Refines ReadStream.pause |
resume | shared actual default ServerWebSocketStream resume() Resume reading. If the Refines ReadStream.resume |
Inherited Methods |
Methods inherited from: Object equals |
Methods inherited from: ReadStream<T> |
Methods inherited from: StreamBase |