Searched refs:http_cb (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/subsys/net/lib/http/ |
D | http_client.c | 182 if (req->internal.response.http_cb && in on_url() 183 req->internal.response.http_cb->on_url) { in on_url() 184 req->internal.response.http_cb->on_url(parser, at, length); in on_url() 206 if (req->internal.response.http_cb && in on_status() 207 req->internal.response.http_cb->on_status) { in on_status() 208 req->internal.response.http_cb->on_status(parser, at, length); in on_status() 230 if (req->internal.response.http_cb && in on_header_field() 231 req->internal.response.http_cb->on_header_field) { in on_header_field() 232 req->internal.response.http_cb->on_header_field(parser, at, in on_header_field() 267 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-latest/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 | 107 const struct http_parser_settings *http_cb; member 248 const struct http_parser_settings *http_cb; member
|
/Zephyr-latest/subsys/net/lib/websocket/ |
D | websocket_internal.h | 77 const struct http_parser_settings *http_cb; member
|
D | websocket.c | 184 if (ctx->http_cb && ctx->http_cb->on_header_field) { in on_header_field() 185 ctx->http_cb->on_header_field(parser, at, length); in on_header_field() 222 if (ctx->http_cb && ctx->http_cb->on_header_value) { in on_header_value() 223 ctx->http_cb->on_header_value(parser, at, length); in on_header_value() 278 ctx->http_cb = wreq->http_cb; in websocket_connect() 318 req.http_cb = &http_parser_settings; in websocket_connect() 326 if (ctx->http_cb) { in websocket_connect() 327 memcpy(&http_parser_settings, ctx->http_cb, in websocket_connect()
|
/Zephyr-latest/include/zephyr/net/ |
D | websocket.h | 102 const struct http_parser_settings *http_cb; member
|