|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Representation of an HTTP client connected to the server. More...
#include <zephyr/net/http/server.h>
Data Fields | |
| size_t | content_len |
| Request content length. | |
| enum http_method | method |
| Request method. | |
| bool | is_h3: 1 |
| Flag indicating this is an HTTP/3 (QUIC stream) client. | |
| bool | preface_sent: 1 |
| Flag indicating that HTTP2 preface was sent. | |
| bool | http1_headers_sent: 1 |
| Flag indicating that HTTP1 headers were sent. | |
| bool | has_upgrade_header: 1 |
| Flag indicating that upgrade header was present in the request. | |
| bool | http2_upgrade: 1 |
| Flag indicating HTTP/2 upgrade takes place. | |
| bool | websocket_upgrade: 1 |
| Flag indicating Websocket upgrade takes place. | |
Representation of an HTTP client connected to the server.
| size_t http_client_ctx::content_len |
Request content length.
| bool http_client_ctx::has_upgrade_header |
Flag indicating that upgrade header was present in the request.
| bool http_client_ctx::http1_headers_sent |
Flag indicating that HTTP1 headers were sent.
| bool http_client_ctx::http2_upgrade |
Flag indicating HTTP/2 upgrade takes place.
| bool http_client_ctx::is_h3 |
Flag indicating this is an HTTP/3 (QUIC stream) client.
| enum http_method http_client_ctx::method |
Request method.
| bool http_client_ctx::preface_sent |
Flag indicating that HTTP2 preface was sent.
| bool http_client_ctx::websocket_upgrade |
Flag indicating Websocket upgrade takes place.