Module net_http

Module net_http 

Source
Expand description

HTTP/1.1 client with RAII response management.

Client wraps the oveRTOS HTTP client handle with automatic resource cleanup. Response owns the heap-allocated body and headers returned by ove_http_get / ove_http_post and frees them on drop.

Works in both heap and zero-heap modes.

Structs§

Client
HTTP/1.1 client.
ClientStorage
Backing storage for an HTTP client in zero-heap mode.
Header
HTTP request header.
Response
HTTP response with RAII lifetime for body and header buffers.

Enums§

Method
HTTP request method.