oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
Loading...
Searching...
No Matches
Data Structures | Enumerations
HTTP Client

Portable HTTP/1.1 client for REST APIs. More...

Data Structures

struct  ove_http_header_t
 HTTP request header (name-value pair). More...
 
struct  ove_http_response_t
 HTTP response (returned by request functions). More...
 

Enumerations

enum  ove_http_method_t {
  OVE_HTTP_GET = 0 , OVE_HTTP_POST = 1 , OVE_HTTP_PUT = 2 , OVE_HTTP_DELETE = 3 ,
  OVE_HTTP_PATCH = 4
}
 HTTP method. More...
 

Detailed Description

Portable HTTP/1.1 client for REST APIs.

Supports GET and POST with optional TLS (when OVE_NET_TLS is enabled). The client is portable C and delegates I/O to the socket/TLS layers.

Note
Requires CONFIG_OVE_NET_HTTP (implies CONFIG_OVE_NET). When disabled every function is replaced by a no-op stub.

Enumeration Type Documentation

◆ ove_http_method_t

HTTP method.

Enumerator
OVE_HTTP_GET 

HTTP GET.

OVE_HTTP_POST 

HTTP POST.

OVE_HTTP_PUT 

HTTP PUT.

OVE_HTTP_DELETE 

HTTP DELETE.

OVE_HTTP_PATCH 

HTTP PATCH.