public interface WebSocketHandler
| Modifier and Type | Method and Description | 
|---|---|
| default java.util.List<java.lang.String> | getSubProtocols()Return the list of sub-protocols supported by this handler. | 
| reactor.core.publisher.Mono<java.lang.Void> | handle(WebSocketSession session)Handle the WebSocket session. | 
default java.util.List<java.lang.String> getSubProtocols()
By default an empty list is returned.
reactor.core.publisher.Mono<java.lang.Void> handle(WebSocketSession session)
session - the session to handleMono<Void> to indicate the outcome of the
 WebSocket session handling.