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
a8a017a0
Commit
a8a017a0
authored
Mar 10, 2014
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs updated
parent
eac8ffab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
API.md
docs/API.md
+4
-4
No files found.
docs/API.md
View file @
a8a017a0
...
@@ -224,9 +224,9 @@ Return: 1 on success, 0 on error.
...
@@ -224,9 +224,9 @@ Return: 1 on success, 0 on error.
int mg_parse_multipart(const char
*
buf, int buf_len,
int mg_parse_multipart(const char
*
buf, int buf_len,
char
*
var_name, int var_name_len,
char
*
var_name, int var_name_len,
char
*
file_name, int file_name_len,
char
*
file_name, int file_name_len,
const char
**
data, int
*
data_len);
const char
**
data, int
*
data_len);
Parses a buffer that contains multipart form data. Stores chunk name
Parses a buffer that contains multipart form data. Stores chunk name
in a
`var_name`
buffer. If chunk is an uploaded file, then
`file_name`
in a
`var_name`
buffer. If chunk is an uploaded file, then
`file_name`
...
@@ -234,7 +234,7 @@ will have a file name. `data` and `data_len` will point to the chunk data.
...
@@ -234,7 +234,7 @@ will have a file name. `data` and `data_len` will point to the chunk data.
Returns number of bytes to skip to the next chunk.
Returns number of bytes to skip to the next chunk.
struct mg_connection *mg_connect(struct mg_server *server,
struct mg_connection *mg_connect(struct mg_server *server,
const char *host, int port, int use_ssl);
const char *host, int port, int use_ssl);
Create connection to the remote host. Returns
`NULL`
on error, non-null
Create connection to the remote host. Returns
`NULL`
on error, non-null
if the connection has been scheduled for connection. Upon a connection,
if the connection has been scheduled for connection. Upon a connection,
...
...
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