public final class WebsocketDuplexConnection
extends io.rsocket.internal.BaseDuplexConnection
DuplexConnection that connects via a Websocket.
rsocket-java strongly assumes that each ByteBuf is encoded with the length. This is not true for message oriented transports so this must be specifically dropped from Frames sent and stitched back on for frames received.
Disposable.Composite, Disposable.Swap| Constructor and Description |
|---|
WebsocketDuplexConnection(reactor.netty.Connection connection)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
ByteBufAllocator |
alloc() |
protected void |
doOnClose() |
Flux<ByteBuf> |
receive() |
Mono<Void> |
send(org.reactivestreams.Publisher<ByteBuf> frames) |