libcoap_rs

Module message

Source
Expand description

Types related to message handling, parsing and creation.

The base unit that is transmitted between a CoAP client and a CoAP server is called a CoAP message (in libcoap also referred to as a “pdu”). This module contains both the basic representation for messages in libcoap-rs (CoapMessage) as well as builders that simplify the process of creating requests and responses and setting the appropriate options (CoapRequest and CoapResponse).

Re-exports§

Modules§

Structs§

Enums§

  • Representation of a CoAP option including its value.

Traits§

  • Interface for CoAP messages common between requests, responses and other messages.