Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
dc2527c1
Commit
dc2527c1
authored
8 years ago
by
Evelyn
Committed by
GitHub
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mg_parse_multipart.md
parent
bee95654
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mg_parse_multipart.md
docs/c-api/http.h/mg_parse_multipart.md
+3
-3
No files found.
docs/c-api/http.h/mg_parse_multipart.md
View file @
dc2527c1
...
...
@@ -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.
Parse
s the
buffer
`buf`
,
`buf_len`
that contains multipart form data chunks.
Store
s 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:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment