public interface QuicConnection extends Connection
Disposable.Composite, Disposable.Swap| Modifier and Type | Method and Description |
|---|---|
default Mono<Void> |
createStream(BiFunction<? super QuicInbound,? super QuicOutbound,? extends Publisher<Void>> streamHandler)
Creates a bidirectional stream.
|
Mono<Void> |
createStream(io.netty.incubator.codec.quic.QuicStreamType streamType,
BiFunction<? super QuicInbound,? super QuicOutbound,? extends Publisher<Void>> streamHandler)
Creates a stream.
|
addHandler, addHandler, addHandlerFirst, addHandlerFirst, addHandlerLast, addHandlerLast, as, bind, from, inbound, isPersistent, markPersistent, onDispose, onReadIdle, onTerminate, onWriteIdle, outbound, rebind, removeHandler, replaceHandleraddress, channel, dispose, disposeNow, disposeNow, disposeSubscriber, isDisposed, onDisposedefault Mono<Void> createStream(BiFunction<? super QuicInbound,? super QuicOutbound,? extends Publisher<Void>> streamHandler)
Mono completing when the stream is created,
then the provided callback is invoked. If the stream creation is not
successful the returned Mono fails.streamHandler - the I/O handler for the streamMono completing when the stream is created, otherwise failsMono<Void> createStream(io.netty.incubator.codec.quic.QuicStreamType streamType, BiFunction<? super QuicInbound,? super QuicOutbound,? extends Publisher<Void>> streamHandler)
Mono completing when the stream is created,
then the provided callback is invoked. If the stream creation is not
successful the returned Mono fails.streamType - the QuicStreamTypestreamHandler - the I/O handler for the streamMono completing when the stream is created, otherwise fails