26#include "ove_config.h"
60#include "ove/storage.h"
62#ifdef CONFIG_OVE_NET_HTTP
72 ove_http_client_storage_t *storage);
104 const char *content_type,
105 const void *body,
size_t body_len,
122 const char *content_type,
123 const void *body,
size_t body_len,
142 const char *content_type,
143 const void *body,
size_t body_len,
155#ifdef OVE_HEAP_NET_HTTP
175#ifndef CONFIG_OVE_NET_HTTP
176typedef struct { uint8_t _unused; } ove_http_client_storage_t;
180static inline void ove_http_client_deinit(
ove_http_client_t client) { (void)client; }
ove_http_method_t
HTTP method.
Definition net_http.h:33
@ OVE_HTTP_POST
Definition net_http.h:35
@ OVE_HTTP_DELETE
Definition net_http.h:37
@ OVE_HTTP_GET
Definition net_http.h:34
@ OVE_HTTP_PUT
Definition net_http.h:36
@ OVE_HTTP_PATCH
Definition net_http.h:38
#define OVE_ERR_NOT_SUPPORTED
The requested feature is not supported by the active backend.
Definition types.h:38
struct ove_http_client * ove_http_client_t
Opaque handle for an HTTP client.
Definition types.h:130
HTTP response (returned by request functions).
Definition net_http.h:52
int status
Definition net_http.h:53
size_t body_len
Definition net_http.h:55
char * body
Definition net_http.h:54
size_t headers_len
Definition net_http.h:57
char * headers
Definition net_http.h:56