Module coap_lite::block_handler

source ·
Expand description

General purpose implementation of block transfer support (RFC 7959).

Supports both Block1 and Block2 and is intended to be compliant with the standard but lenient to tolerate mixed use cases. In-memory caching of request and response bodies is used to achieve the generic interaction.

Structs§

Functions§

  • Similar to Vec::splice except that the Vec’s length may be extended to support the splice, but only up to an increase of maximum_reserve_len (for security reasons if the data you’re receiving is untrusted ensure this is reasonably limited to avoid memory pressure denial of service attacks).