Creates a disconnected endpoint from the given settings.
Binds the local socket so the endpoint can carry traffic.
Releases the socket the endpoint holds.
Whether the local socket is bound.
Waits for the next message on an observed path, or null once the
endpoint is closed.
OptionaltimeoutMs: number | null
how long to wait before rejecting; a message that arrives later waits for the next receive.
Sends a payload to a resource path: bytes, or text such as a reading written out.
Observes a resource path, so messages published to it reach recv.
A CoAP endpoint.