2018-02-03 01:16:14 +02:00
|
|
|
---
|
|
|
|
title: "mg_http_parse_header()"
|
|
|
|
decl_name: "mg_http_parse_header"
|
|
|
|
symbol_kind: "func"
|
|
|
|
signature: |
|
|
|
|
int mg_http_parse_header(struct mg_str *hdr, const char *var_name, char *buf,
|
|
|
|
size_t buf_size);
|
|
|
|
---
|
|
|
|
|
2018-02-07 19:35:15 +02:00
|
|
|
DEPRECATED: use mg_http_parse_header2() instead.
|
2018-02-03 01:16:14 +02:00
|
|
|
|
2018-02-07 19:35:15 +02:00
|
|
|
Same as mg_http_parse_header2(), but takes buffer as a `char *` (instead of
|
|
|
|
`char **`), and thus it cannot allocate a new buffer if the provided one
|
|
|
|
is not enough, and just returns 0 in that case.
|
2018-02-03 01:16:14 +02:00
|
|
|
|