Builder

Collects the values of a CoapEndpointConfig; every property starts at its default, documented on the property of the same name. Not thread safe: build on one thread, then share the configuration.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

See CoapEndpointConfig.interceptors; the configuration copies the list. Default: none.

Link copied to clipboard

See CoapEndpointConfig.random. Default: Random.Default.

Link copied to clipboard

See CoapEndpointConfig.reliable. Default: ReliableTransportConfig().

Link copied to clipboard

See CoapEndpointConfig.timeSource. Default: TimeSource.Monotonic.

Link copied to clipboard

See CoapEndpointConfig.tokenGenerator. Default: null, a generator per endpoint.

Functions

Link copied to clipboard

The configuration with the values set so far. The builder stays usable: changing it afterwards does not change configurations already built.