mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-19 11:09:42 +00:00
Update mg_parse_multipart.md
This commit is contained in:
1 parent
bee95654f3
commit
dc2527c11f
1 file changed
+3
-3
@@ -9,13 +9,13 @@ signature: |
|
||||
size_t *chunk_len);
|
||||
---
|
||||
|
||||
Parse buffer `buf`, `buf_len` that contains multipart form data chunks.
|
||||
Store chunk name in a `var_name`, `var_name_len` buffer.
|
||||
Parses the buffer `buf`, `buf_len` that contains multipart form data chunks.
|
||||
Stores the chunk name in a `var_name`, `var_name_len` buffer.
|
||||
If a chunk is an uploaded file, then `file_name`, `file_name_len` is
|
||||
filled with an uploaded file name. `chunk`, `chunk_len`
|
||||
points to the chunk data.
|
||||
|
||||
Return: number of bytes to skip to the next chunk, or 0 if there are
|
||||
Return: number of bytes to skip to the next chunk or 0 if there are
|
||||
no more chunks.
|
||||
|
||||
Usage example:
|
||||
|
||||
Reference in new issue
Block a user