![]() |
EVE 1.0
|
![]() |
Modules | |
application | |
Data Structures | |
struct | http_auth_op_t |
struct | http_server_conf_t |
struct | http_server_security_t |
struct | http_content_type_t |
struct | http_enum_cvt_t |
struct | toc_segment_ptr_t |
struct | toc_var_context_t |
Macros | |
#define | HTTP_SERVER_CONF_DEFAULTS |
#define | CSTRING(x) (x), (sizeof(x) - 1) |
#define | ENUM_CVT_ENTRY(v, s) |
Typedefs | |
typedef bool(* | http_auth_callback_t) (struct http_auth_op_t *Op) |
Enumerations |
Functions | |
bool | HttpServerStart (const struct http_server_conf_t *Config, struct http_server_security_t *Security) |
void | HttpServerStop (void) |
Variables | |
const uint8_t | HttpRequestCount |
const uint8_t | HttpStaticResourceCount |
const struct http_content_type_t | HttpContentTypeTable [] |
const struct http_enum_cvt_t | HttpReqTypeTable [] |
const struct http_enum_cvt_t | HttpResourceTable [] |
#define HTTP_SERVER_CONF_DEFAULTS |
Default HTTP server configuration
Definition at line 12 of file http-server.h.
#define CSTRING | ( | x | ) | (x), (sizeof(x) - 1) |
#define ENUM_CVT_ENTRY | ( | v, | |
s | |||
) |
typedef bool(* http_auth_callback_t) (struct http_auth_op_t *Op) |
Authentication callback
Definition at line 52 of file http-server.h.
enum http_auth_op_type_t |
Authentication operation type
Definition at line 27 of file http-server.h.
enum http_resource_type_t |
enum http_req_type_t |
HTTP request identifier type
The engine supports up to 254 unique requests, each of them is mapped to the corresponding ID.
anonymous enum |
bool HttpServerStart | ( | const struct http_server_conf_t * | Config, |
struct http_server_security_t * | Security | ||
) |
Start HTTP/HTTPS server
Config | Server general configuration |
Security | Server security configuration |
void HttpServerStop | ( | void | ) |
Stop HTTP/HTTPS server
const uint8_t HttpRequestCount |
Number of elements in the HttpReqTypeTable table
Definition at line 30 of file instance.h.
const uint8_t HttpStaticResourceCount |
Number of elements in the HttpResourceTable table
Definition at line 7 of file instance.h.
const struct http_content_type_t HttpContentTypeTable[] |
User-defined content type mapping table
Definition at line 39 of file instance.h.
const struct http_enum_cvt_t HttpReqTypeTable[] |
User-defined request to ID mapping table
Definition at line 71 of file instance.h.
const struct http_enum_cvt_t HttpResourceTable[] |
User-defined resource to ID mapping table
Definition at line 55 of file instance.h.