aboutsummaryrefslogtreecommitdiff
path: root/doc/libmicrohttpd.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r--doc/libmicrohttpd.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index 150dd048..fd776028 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -2018,6 +2018,21 @@ Return @code{NULL} on error (i.e. invalid arguments, out of memory).
2018@end deftypefun 2018@end deftypefun
2019 2019
2020 2020
2021@deftypefun {struct MHD_Response *} MHD_create_response_from_pipe (uint64_t size, int fd)
2022Create a response object. The response object can be extended with
2023header information and then it can be used ONLY ONCE.
2024
2025@table @var
2026@item fd
2027file descriptor of the read-end of the pipe; will be
2028closed when response is destroyed.
2029The descriptor should be in blocking-IO mode.
2030@end table
2031
2032Return @code{NULL} on error (i.e. out of memory).
2033@end deftypefun
2034
2035
2021@deftypefun {struct MHD_Response *} MHD_create_response_from_fd_at_offset (size_t size, int fd, off_t offset) 2036@deftypefun {struct MHD_Response *} MHD_create_response_from_fd_at_offset (size_t size, int fd, off_t offset)
2022Create a response object. The response object can be extended with 2037Create a response object. The response object can be extended with
2023header information and then it can be used any number of times. 2038header information and then it can be used any number of times.