public static final class UdpClient.Builder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
UdpClient |
build() |
UdpClient.Builder |
options(java.util.function.Consumer<? super UdpClientOptions.Builder> options)
The options for the client, including address and port.
|
public final UdpClient.Builder options(java.util.function.Consumer<? super UdpClientOptions.Builder> options)
options - the options for the client, including address and port.thispublic UdpClient build()