CoapClientConfig
The CoapClientConfig that block sets up on a CoapClientConfig.Builder; what is not set keeps its default:
val client = CoapClient(transport, scope, CoapClientConfig {
security = OscoreClient(contexts)
requestTimeout = 5.seconds
})Content copied to clipboard
Throws
when a value is out of range, as CoapClientConfig.Builder.build does.