Layer 6 (Presentation) - wires the transport ring buffer to the HTTP parser. More...
#include "network_drivers/presentation/http/http_parser/http_parser.h"#include "network_drivers/session/session.h"#include "network_drivers/transport/tcp/evt/evt.h"Go to the source code of this file.
Classes | |
| struct | HttpHdrArgs |
| RFC 9110 sec 5.6.1: a comma-separated header, and the token looked for in it. More... | |
| struct | HttpConnVars |
| struct | HttpConnNs |
| The entries. More... | |
Functions | |
| void | protocore_http_conn_reset (const uint8_t *work) |
| void | protocore_http_conn_conn_open (const uint8_t *work) |
| void | protocore_http_conn_parse (uint8_t *work) |
| void | protocore_http_conn_keepalive_eval (uint8_t *work) |
| void | protocore_http_conn_has_token (uint8_t *work) |
| void | protocore_http_conn_proto_handler (const uint8_t *work) |
| void | protocore_http_conn_set_poll (uint8_t *work) |
| uint8_t * | protocore_http_conn_span (void) |
| The PROTOCORE_HTTP_CONN_BORROW bytes this module's state lives in. | |
Variables | |
| HttpConnVars | HttpConnV |
| The operands and the outcome. | |
Layer 6 (Presentation) - wires the transport ring buffer to the HTTP parser.
This layer owns two responsibilities:
The parsing itself lives in http_parser.h, which this includes so callers need one include.
Definition in file presentation.h.
| void protocore_http_conn_reset | ( | const uint8_t * | work | ) |
Referenced by protocore_http_conn_set_poll().
| void protocore_http_conn_conn_open | ( | const uint8_t * | work | ) |
Referenced by protocore_http_conn_set_poll().
| void protocore_http_conn_parse | ( | uint8_t * | work | ) |
Referenced by protocore_http_conn_set_poll().
| void protocore_http_conn_keepalive_eval | ( | uint8_t * | work | ) |
Referenced by protocore_http_conn_set_poll().
| void protocore_http_conn_has_token | ( | uint8_t * | work | ) |
Referenced by protocore_http_conn_set_poll().
| void protocore_http_conn_proto_handler | ( | const uint8_t * | work | ) |
Referenced by protocore_http_conn_set_poll().
| void protocore_http_conn_set_poll | ( | uint8_t * | work | ) |
| uint8_t * protocore_http_conn_span | ( | void | ) |
The PROTOCORE_HTTP_CONN_BORROW bytes this module's state lives in.
Stated beside the namespace rather than on it: an entry takes a borrow, and this is where that borrow comes from. Taken once from the end of the pool, which no mark and no release walks, so the state lasts the life of the program.
|
extern |
The operands and the outcome.