Searched refs:http_client_ctx (Results 1 – 12 of 12) sorted by relevance
/Zephyr-latest/subsys/net/lib/http/headers/ |
D | server_internal.h | 20 int handle_http_frame_rst_stream(struct http_client_ctx *client); 21 int handle_http_frame_goaway(struct http_client_ctx *client); 22 int handle_http_frame_settings(struct http_client_ctx *client); 23 int handle_http_frame_priority(struct http_client_ctx *client); 24 int handle_http_frame_continuation(struct http_client_ctx *client); 25 int handle_http_frame_window_update(struct http_client_ctx *client); 26 int handle_http_frame_header(struct http_client_ctx *client); 27 int handle_http_frame_headers(struct http_client_ctx *client); 28 int handle_http_frame_data(struct http_client_ctx *client); 29 int handle_http_frame_padding(struct http_client_ctx *client); [all …]
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_server_http2.c | 41 static void print_http_frames(struct http_client_ctx *client) in print_http_frames() 67 struct http_client_ctx *client, uint32_t stream_id) in find_http_stream_context() 79 struct http_client_ctx *client, uint32_t stream_id) in allocate_http_stream_context() 96 static void release_http_stream_context(struct http_client_ctx *client, in release_http_stream_context() 109 static int add_header_field(struct http_client_ctx *client, uint8_t **buf, in add_header_field() 141 static int send_headers_frame(struct http_client_ctx *client, enum http_status status, in send_headers_frame() 214 static int send_data_frame(struct http_client_ctx *client, const char *payload, in send_data_frame() 240 int send_settings_frame(struct http_client_ctx *client, bool ack) in send_settings_frame() 283 int send_window_update_frame(struct http_client_ctx *client, in send_window_update_frame() 318 static int send_http2_404(struct http_client_ctx *client, in send_http2_404() [all …]
|
D | http_server_http1.c | 42 struct http_client_ctx *client) in handle_http1_static_resource() 119 static int http1_send_headers(struct http_client_ctx *client, enum http_status status, in http1_send_headers() 212 static int http1_dynamic_response(struct http_client_ctx *client, struct http_response_ctx *rsp, in http1_dynamic_response() 258 struct http_client_ctx *client) in dynamic_get_del_req() 302 struct http_client_ctx *client) in dynamic_post_put_req() 387 struct http_client_ctx *client) in handle_http1_static_fs_resource() 486 struct http_client_ctx *client) in handle_http1_dynamic_resource() 598 struct http_client_ctx *ctx = CONTAINER_OF(parser, in on_header_field() 599 struct http_client_ctx, in on_header_field() 668 struct http_client_ctx *ctx = CONTAINER_OF(parser, in on_header_value() [all …]
|
D | http_server_core.c | 54 struct http_client_ctx clients[HTTP_SERVER_MAX_CLIENTS]; 65 static void close_client_connection(struct http_client_ctx *client); 294 struct http_client_ctx *client = in close_all_sockets() 304 static void client_release_resources(struct http_client_ctx *client) in client_release_resources() 343 void http_server_release_client(struct http_client_ctx *client) in http_server_release_client() 362 memset(client, 0, sizeof(struct http_client_ctx)); in http_server_release_client() 366 static void close_client_connection(struct http_client_ctx *client) in close_client_connection() 378 struct http_client_ctx *client = in client_timeout() 379 CONTAINER_OF(dwork, struct http_client_ctx, inactivity_timer); in client_timeout() 389 void http_client_timer_restart(struct http_client_ctx *client) in http_client_timer_restart() [all …]
|
D | http_server_ws.c | 34 int handle_http1_to_websocket_upgrade(struct http_client_ctx *client) in handle_http1_to_websocket_upgrade()
|
/Zephyr-latest/include/zephyr/net/http/ |
D | server.h | 161 struct http_client_ctx; 219 typedef int (*http_resource_dynamic_cb_t)(struct http_client_ctx *client, 240 struct http_client_ctx *holder; 398 struct http_client_ctx { struct
|
/Zephyr-latest/samples/net/sockets/http_server/src/ |
D | main.c | 70 static int echo_handler(struct http_client_ctx *client, enum http_data_status status, in echo_handler() 115 static int uptime_handler(struct http_client_ctx *client, enum http_data_status status, in uptime_handler() 174 static int led_handler(struct http_client_ctx *client, enum http_data_status status, in led_handler()
|
/Zephyr-latest/samples/net/prometheus/src/ |
D | stats.c | 35 static int stats_handler(struct http_client_ctx *client, enum http_data_status status, in stats_handler()
|
D | main.c | 45 static int dyn_handler(struct http_client_ctx *client, enum http_data_status status, in dyn_handler()
|
/Zephyr-latest/tests/net/lib/http_server/core/src/ |
D | main.c | 249 static int dynamic_cb(struct http_client_ctx *client, enum http_data_status status, in dynamic_cb() 319 static int dynamic_request_headers_cb(struct http_client_ctx *client, enum http_data_status status, in dynamic_request_headers_cb() 417 static int dynamic_response_headers_cb(struct http_client_ctx *client, enum http_data_status status, in dynamic_response_headers_cb() 2230 static struct http_client_ctx ctx_client1; in ZTEST() 2231 static struct http_client_ctx ctx_client2; in ZTEST()
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | http_server.rst | 233 static int dyn_handler(struct http_client_ctx *client, enum http_data_status status, 390 static int dyn_handler(struct http_client_ctx *client, enum http_data_status status,
|
/Zephyr-latest/doc/releases/ |
D | migration-guide-4.1.rst | 364 rather than directly in the :c:struct:`http_client_ctx` to correctly handle concurrent requests
|