Interface QuicClient
- All Superinterfaces:
Measured, QuicEndpoint
-
Method Summary
Modifier and TypeMethodDescriptiondefault Future<QuicConnection> Connect to a Quic server at the specificportandhost.default Future<QuicConnection> connect(int port, String host, QuicConnectOptions options) Connect to a Quic server at the specificportandhost, with specificoptions.default Future<QuicConnection> connect(SocketAddress address) Connect to a Quic server.connect(SocketAddress address, QuicConnectOptions options) Connect to a Quic server with specificoptions.Methods inherited from interface Measured
isMetricsEnabledMethods inherited from interface QuicEndpoint
bind, close, shutdown, shutdown
-
Method Details
-
connect
Connect to a Quic server at the specificportandhost.- Parameters:
port- the porthost- the host- Returns:
- a Quic connection as a future
-
connect
Connect to a Quic server at the specificportandhost, with specificoptions.- Parameters:
port- the porthost- the host- Returns:
- a Quic connection as a future
-
connect
Connect to a Quic server.- Parameters:
address- the server address- Returns:
- a Quic connection as a future
-
connect
Connect to a Quic server with specificoptions.- Parameters:
address- the server addressoptions- the connect options- Returns:
- a Quic connection as a future
-