Skip to main content

Module http_client

Module http_client 

Source
Expand description

Async HTTPS client using reqwless and embassy-net.

§Buffer sizes

  • TLS RX/TX buffers: 16,640 bytes each (allocated in PSRAM)
  • Response buffer: 524,288 bytes ≈512 KB (PSRAM) — determines the maximum downloadable file size, including widget WASM binaries. This also is the max size of a storeable widget with Storage.

§Security

TLS certificate verification is disabled (TlsVerify::None).

§Usage

Call via http_sync::http_request_async from async contexts, or http_sync::http_request_sync from sync contexts (e.g. widget WASM host functions). Do not construct EspHttpClient directly.

Structs§

EspHttpClient