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§
pub use request::CoapRequest;
pub use response::CoapResponse;
Modules§
Structs§
- Coap
Message - Representation of a CoAP message.
Enums§
- Coap
Option - Representation of a CoAP option including its value.
Traits§
- Coap
Message Common - Interface for CoAP messages common between requests, responses and other messages.