public interface WebsocketInbound extends NettyInbound
| Modifier and Type | Method and Description |
|---|---|
default WebsocketInbound |
aggregateFrames()
Turn this
WebsocketInbound into aggregating mode which will only produce
fully formed frame that have been received fragmented. |
default WebsocketInbound |
aggregateFrames(int maxContentLength)
Turn this
WebsocketInbound into aggregating mode which will only produce
fully formed frame that have been received fragmented. |
default reactor.core.publisher.Flux<io.netty.handler.codec.http.websocketx.WebSocketFrame> |
receiveFrames() |
java.lang.String |
selectedSubprotocol()
Returns the websocket subprotocol negotiated by the client and server during
the websocket handshake, or null if none was requested.
|
attr, context, context, onReadIdle, receive, receiveObject, remoteAddressjava.lang.String selectedSubprotocol()
default WebsocketInbound aggregateFrames()
WebsocketInbound into aggregating mode which will only produce
fully formed frame that have been received fragmented.
Will aggregate up to 65,536 bytes per framedefault WebsocketInbound aggregateFrames(int maxContentLength)
WebsocketInbound into aggregating mode which will only produce
fully formed frame that have been received fragmented.maxContentLength - the maximum frame lengthdefault reactor.core.publisher.Flux<io.netty.handler.codec.http.websocketx.WebSocketFrame> receiveFrames()
Flux of WebSocketFrame formed frame content