Builder

Collects the values of a CoapClientConfig; 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
Link copied to clipboard
Link copied to clipboard

See CoapClientConfig.preferredBlockSize. Default: null, the largest size that fits.

Link copied to clipboard

See CoapClientConfig.qBlock. Default: QBlockClientConfig(), Q-Block off.

Link copied to clipboard

See CoapClientConfig.requestTimeout. Default: null, EXCHANGE_LIFETIME.

Link copied to clipboard

See CoapClientConfig.security. Default: null, requests go unprotected.

Link copied to clipboard

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.