Class QuicServer

java.lang.Object
reactor.netty.transport.Transport<T,CONF>
reactor.netty.quic.QuicServer

public abstract class QuicServer extends Transport<T,CONF>
A QuicServer allows building in a safe immutable way a QUIC server that is materialized and bound when bind() is ultimately called.

Example:

 
     QuicServer.create()
               .tokenHandler(InsecureQuicTokenHandler.INSTANCE)
               .port(7777)
               .wiretap(true)
               .secure(serverCtx)
               .idleTimeout(Duration.ofSeconds(5))
               .initialSettings(spec ->
                   spec.maxData(10000000)
                       .maxStreamDataBidirectionalLocal(1000000)
                       .maxStreamDataBidirectionalRemote(1000000)
                       .maxStreamsBidirectional(100)
                       .maxStreamsUnidirectional(100))
               .bindNow();
 
 
Author:
Violeta Georgieva