![]() |
Zephyr API 4.4.99
A Scalable Open Source RTOS
|
#include <sys/types.h>#include <zephyr/types.h>#include <stddef.h>#include <zephyr/net/http/method.h>#include <zephyr/net/http/parser_state.h>#include <zephyr/net/http/parser_url.h>#include <stdbool.h>Go to the source code of this file.
Data Structures | |
| struct | http_content_range |
| struct | http_parser |
| struct | http_parser_settings |
Macros | |
| #define | HTTP_PARSER_VERSION_MAJOR 2 |
| #define | HTTP_PARSER_VERSION_MINOR 7 |
| #define | HTTP_PARSER_VERSION_PATCH 1 |
| #define | HTTP_MAX_HEADER_SIZE (80 * 1024) |
| #define | HTTP_PARSER_ERRNO(p) |
Typedefs | |
| typedef int(* | http_data_cb) (struct http_parser *, const char *at, size_t length) |
| typedef int(* | http_cb) (struct http_parser *) |
Functions | |
| unsigned long | http_parser_version (void) |
| void | http_parser_init (struct http_parser *parser, enum http_parser_type type) |
| void | http_parser_settings_init (struct http_parser_settings *settings) |
| size_t | http_parser_execute (struct http_parser *parser, const struct http_parser_settings *settings, const char *data, size_t len) |
| int | http_should_keep_alive (const struct http_parser *parser) |
| const char * | http_method_str (enum http_method m) |
| const char * | http_errno_name (enum http_errno err) |
| const char * | http_errno_description (enum http_errno err) |
| void | http_parser_pause (struct http_parser *parser, int paused) |
| int | http_body_is_final (const struct http_parser *parser) |
| #define HTTP_MAX_HEADER_SIZE (80 * 1024) |
| #define HTTP_PARSER_ERRNO | ( | p | ) |
| #define HTTP_PARSER_VERSION_MAJOR 2 |
| #define HTTP_PARSER_VERSION_MINOR 7 |
| #define HTTP_PARSER_VERSION_PATCH 1 |
| typedef int(* http_cb) (struct http_parser *) |
| typedef int(* http_data_cb) (struct http_parser *, const char *at, size_t length) |
| enum flags |
| enum http_errno |
| enum http_parser_type |
| int http_body_is_final | ( | const struct http_parser * | parser | ) |
| const char * http_errno_description | ( | enum http_errno | err | ) |
| const char * http_errno_name | ( | enum http_errno | err | ) |
| const char * http_method_str | ( | enum http_method | m | ) |
| size_t http_parser_execute | ( | struct http_parser * | parser, |
| const struct http_parser_settings * | settings, | ||
| const char * | data, | ||
| size_t | len ) |
| void http_parser_init | ( | struct http_parser * | parser, |
| enum http_parser_type | type ) |
| void http_parser_pause | ( | struct http_parser * | parser, |
| int | paused ) |
| void http_parser_settings_init | ( | struct http_parser_settings * | settings | ) |
| unsigned long http_parser_version | ( | void | ) |
| int http_should_keep_alive | ( | const struct http_parser * | parser | ) |