protectRequest
open suspend override fun protectRequest(request: CoapMessage, peer: Endpoint): ProtectedRequest?(source)
The installed protection's answer for peer; null for unprotectedPaths, and for a server without a protection when allowUnprotected is set.
Throws
when peer has no protection and allowUnprotected is not set.