mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-29 21:08:24 +00:00
docs updated
This commit is contained in:
1 parent
eac8ffabc4
commit
a8a017a048
1 file changed
+4
-4
+4
-4
@@ -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.
|
|||||||
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,
|
||||||
|
|||||||
Reference in new issue
Block a user