Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
|
HTTP service API. More...
#include <stdint.h>
#include <stddef.h>
#include <zephyr/sys/util_macro.h>
#include <zephyr/sys/iterable_sections.h>
#include <zephyr/net/tls_credentials.h>
Go to the source code of this file.
Data Structures | |
struct | http_resource_desc |
HTTP resource description. More... | |
Macros | |
#define | HTTP_RESOURCE_DEFINE(_name, _service, _resource, _detail) |
Define a static HTTP resource. | |
#define | HTTP_SERVICE_DEFINE_EMPTY(_name, _host, _port, _concurrent, _backlog, _detail) |
Define an HTTP service without static resources. | |
#define | HTTPS_SERVICE_DEFINE_EMPTY(_name, _host, _port, _concurrent, _backlog, _detail, _sec_tag_list, _sec_tag_list_size) |
Define an HTTPS service without static resources. | |
#define | HTTP_SERVICE_DEFINE(_name, _host, _port, _concurrent, _backlog, _detail) |
Define an HTTP service with static resources. | |
#define | HTTPS_SERVICE_DEFINE(_name, _host, _port, _concurrent, _backlog, _detail, _sec_tag_list, _sec_tag_list_size) |
Define an HTTPS service with static resources. | |
#define | HTTP_SERVICE_COUNT(_dst) |
Count the number of HTTP services. | |
#define | HTTP_SERVICE_RESOURCE_COUNT(_service) |
Count HTTP service static resources. | |
#define | HTTP_SERVICE_FOREACH(_it) |
Iterate over all HTTP services. | |
#define | HTTP_RESOURCE_FOREACH(_service, _it) |
Iterate over static HTTP resources associated with a given _service . | |
#define | HTTP_SERVICE_FOREACH_RESOURCE(_service, _it) |
Iterate over all static resources associated with _service . | |
HTTP service API.