Class QuicConnectOptions
java.lang.Object
io.vertx.core.net.QuicConnectOptions
Options for configuring how to connect to a QUIC server.
- Author:
- Julien Viet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetQLogConfig(QLogConfig config) Set a QLof config to connect with, if none is set, the client one is used.setSslOptions(ClientSSLOptions sslOptions) Set the SSL to connect with, if none is set, the client one is used.setTimeout(Duration timeout) Override the client connect timeout.
-
Constructor Details
-
QuicConnectOptions
public QuicConnectOptions() -
QuicConnectOptions
-
-
Method Details
-
getSslOptions
- Returns:
- the SSL options overriding the client ssl options
-
setSslOptions
Set the SSL to connect with, if none is set, the client one is used.- Parameters:
sslOptions- ssl options- Returns:
- a reference to this, so the API can be used fluently
-
getQLogConfig
- Returns:
- the QLog config overriding the client config
-
setQLogConfig
Set a QLof config to connect with, if none is set, the client one is used.- Parameters:
config- the config- Returns:
- a reference to this, so the API can be used fluently
-
getTimeout
- Returns:
- the connect timeout duration
-
setTimeout
Override the client connect timeout.- Parameters:
timeout- connect timeout- Returns:
- a reference to this, so the API can be used fluently
-