Interface WebSocketHandler<T extends RequestContext>
- All Known Subinterfaces:
WebSocketServiceHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Implement this interface to handle incoming
WebSocketFrame
s from the peer and
send WebSocketFrame
s to the peer.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionHandles the incomingWebSocket
and returnsWebSocket
created viaWebSocket.streaming()
to sendWebSocketFrame
s.
-
Method Details
-
handle
Handles the incomingWebSocket
and returnsWebSocket
created viaWebSocket.streaming()
to sendWebSocketFrame
s.
-