aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/libmicrohttpd.texi27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index 461ba3ac..2a4f09d2 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -1270,6 +1270,11 @@ Handle for a response.
1270@end deftp 1270@end deftp
1271 1271
1272 1272
1273@deftp {C Struct} MHD_IoVec
1274An element of an array of memory buffers.
1275@end deftp
1276
1277
1273@deftp {C Struct} MHD_PostProcessor 1278@deftp {C Struct} MHD_PostProcessor
1274@cindex POST method 1279@cindex POST method
1275Handle for @code{POST} processing. 1280Handle for @code{POST} processing.
@@ -2170,6 +2175,28 @@ MHD_destroy_response(response);
2170@end example 2175@end example
2171 2176
2172 2177
2178@deftypefun {struct MHD_Response *} MHD_create_response_from_iovec (const struct MHD_IoVec *iov, int iovcnt, MHD_ContentReaderFreeCallback crfc, void *cls)
2179Create a response object from an array of memory buffers.
2180The response object can be extended with header information and then be used
2181any number of times.
2182@table @var
2183@item iov
2184the array for response data buffers, an internal copy of this will be made;
2185
2186@item iovcnt
2187the number of elements in @var{iov};
2188
2189@item crfc
2190the callback to call to free resources associated with @var{iov};
2191
2192@item cls
2193the argument to @var{crfc};
2194@end table
2195
2196Return @code{NULL} on error (i.e. invalid arguments, out of memory).
2197@end deftypefun
2198
2199
2173 2200
2174@c ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2201@c ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2175 2202