Searched refs:http_cb (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.5.0/subsys/net/lib/http/ |
D | http_client.c | 162 if (req->internal.response.http_cb && in on_url() 163 req->internal.response.http_cb->on_url) { in on_url() 164 req->internal.response.http_cb->on_url(parser, at, length); in on_url() 186 if (req->internal.response.http_cb && in on_status() 187 req->internal.response.http_cb->on_status) { in on_status() 188 req->internal.response.http_cb->on_status(parser, at, length); in on_status() 210 if (req->internal.response.http_cb && in on_header_field() 211 req->internal.response.http_cb->on_header_field) { in on_header_field() 212 req->internal.response.http_cb->on_header_field(parser, at, in on_header_field() 247 if (req->internal.response.http_cb && in on_header_value() [all …]
|
D | http_parser.c | 206 int cb_notify(struct http_parser *parser, enum state *current_state, http_cb cb, in cb_notify()
|
/Zephyr-Core-3.5.0/include/zephyr/net/http/ |
D | parser.h | 91 typedef int (*http_cb)(struct http_parser *); typedef 191 http_cb on_message_begin; 196 http_cb on_headers_complete; 198 http_cb on_message_complete; 202 http_cb on_chunk_header; 203 http_cb on_chunk_complete;
|
D | client.h | 101 const struct http_parser_settings *http_cb; member 242 const struct http_parser_settings *http_cb; member
|
/Zephyr-Core-3.5.0/subsys/net/lib/websocket/ |
D | websocket.c | 186 if (ctx->http_cb && ctx->http_cb->on_header_field) { in on_header_field() 187 ctx->http_cb->on_header_field(parser, at, length); in on_header_field() 224 if (ctx->http_cb && ctx->http_cb->on_header_value) { in on_header_value() 225 ctx->http_cb->on_header_value(parser, at, length); in on_header_value() 280 ctx->http_cb = wreq->http_cb; in websocket_connect() 319 req.http_cb = &http_parser_settings; in websocket_connect() 327 if (ctx->http_cb) { in websocket_connect() 328 memcpy(&http_parser_settings, ctx->http_cb, in websocket_connect()
|
D | websocket_internal.h | 77 const struct http_parser_settings *http_cb; member
|
/Zephyr-Core-3.5.0/include/zephyr/net/ |
D | websocket.h | 99 const struct http_parser_settings *http_cb; member
|