Class HttpSignalingSettings
java.lang.Object
org.cloudburstmc.netty.channel.nethernet.signaling.HttpSignalingSettings
How
NetherNetHTTPClientSignaling reaches an endpoint. Immutable; DEFAULT does
what the retail client does. Share one across connections: the HTTP client behind it is built
once per settings object, and a signaling is made per connection.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhich scheme the signaling speaks. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionscheme()@Nullable SSLContextThe trust HTTPS validates the server against, or null for the JDK default.withIceServers(Collection<IceServerInfo> iceServers) withSslContext(SSLContext sslContext)
-
Field Details
-
DEFAULT
-
-
Method Details
-
scheme
-
iceServers
-
sslContext
The trust HTTPS validates the server against, or null for the JDK default. -
withScheme
-
withIceServers
- Parameters:
iceServers- The STUN and TURN servers to gather through. Every one of them has to answer or time out before the offer can go, since nothing trickles after it- Returns:
- The settings with those servers
-
withSslContext
- Parameters:
sslContext- The trust to validate the server's certificate with, for a private CA- Returns:
- The settings with that trust
-