CoapEndpointConfig
The CoapEndpointConfig that block sets up on a CoapEndpointConfig.Builder; what is not set keeps its default:
val config = CoapEndpointConfig {
parameters = TransmissionParameters(ackTimeout = 3.seconds)
eventListener = EndpointEventListener { event -> println(event) }
}Content copied to clipboard
Throws
when a value is out of range, as CoapEndpointConfig.Builder.build does.