mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-28 12:30:58 +00:00
Fix mongoose docs generation
PUBLISHED_FROM=331821dcd1f7dc8a94581cd8a9b51aa00a89fddc
This commit is contained in:
1 parent
ab000c684a
commit
3eb4eb8074
166 files changed
+3125
No files matched your search
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: "mg_parse_http()"
|
||||
decl_name: "mg_parse_http"
|
||||
symbol_kind: "func"
|
||||
signature: |
|
||||
int mg_parse_http(const char *s, int n, struct http_message *hm, int is_req);
|
||||
---
|
||||
|
||||
Parses a HTTP message.
|
||||
|
||||
`is_req` should be set to 1 if parsing a request, 0 if reply.
|
||||
|
||||
Returns the number of bytes parsed. If HTTP message is
|
||||
incomplete `0` is returned. On parse error, a negative number is returned.
|
||||
|
||||
Reference in new issue
Block a user