Home
last modified time | relevance | path

Searched refs:http_cb (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/include/zephyr/net/http/
Dparser.h92 typedef int (*http_cb)(struct http_parser *); typedef
201 http_cb on_message_begin;
206 http_cb on_headers_complete;
208 http_cb on_message_complete;
212 http_cb on_chunk_header;
213 http_cb on_chunk_complete;
Dclient.h107 const struct http_parser_settings *http_cb; member
255 const struct http_parser_settings *http_cb; member
/Zephyr-latest/subsys/net/lib/http/
Dhttp_client.c183 if (req->internal.response.http_cb && in on_url()
184 req->internal.response.http_cb->on_url) { in on_url()
185 req->internal.response.http_cb->on_url(parser, at, length); in on_url()
207 if (req->internal.response.http_cb && in on_status()
208 req->internal.response.http_cb->on_status) { in on_status()
209 req->internal.response.http_cb->on_status(parser, at, length); in on_status()
236 if (req->internal.response.http_cb && in on_header_field()
237 req->internal.response.http_cb->on_header_field) { in on_header_field()
238 req->internal.response.http_cb->on_header_field(parser, at, in on_header_field()
280 if (req->internal.response.http_cb && in on_header_value()
[all …]
Dhttp_parser.c214 int cb_notify(struct http_parser *parser, enum state *current_state, http_cb cb, in cb_notify()
/Zephyr-latest/subsys/net/lib/websocket/
Dwebsocket_internal.h77 const struct http_parser_settings *http_cb; member
Dwebsocket.c184 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/
Dwebsocket.h102 const struct http_parser_settings *http_cb; member