diff options
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 b/docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 index 3a4c4c02..b4535f40 100644 --- a/docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -20,17 +20,17 @@ .\" * .\" ************************************************************************** .\" -.TH CURLOPT_TRAILERFUNCTION 3 "December 14, 2018" "libcurl 7.66.0" "curl_easy_setopt options" +.TH CURLOPT_TRAILERFUNCTION 3 "October 31, 2019" "libcurl 7.67.0" "curl_easy_setopt options" -.SH NAME: +.SH NAME CURLOPT_TRAILERFUNCTION \- Set callback for sending trailing headers -.SH SYNOPSIS: +.SH SYNOPSIS #include <curl.h> int curl_trailer_callback(struct curl_slist ** list, void *userdata); CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TRAILERFUNCTION, curl_trailer_callback *func); -.SH DESCRIPTION: +.SH DESCRIPTION Pass a pointer to a callback function. This callback function will be called once right before sending the final @@ -57,11 +57,11 @@ trailers or to abort the request. If you set this option to NULL, then the transfer proceeds as usual without any interruptions. -.SH DEFAULT: +.SH DEFAULT NULL -.SH PROTOCOLS: +.SH PROTOCOLS HTTP -.SH EXAMPLE: +.SH EXAMPLE #include <curl/curl.h> static int trailer_cb(struct curl_slist **tr, void *data) @@ -96,7 +96,7 @@ if(curl) { curl_slist_free_all(headers); } -.SH AVAILABILITY: +.SH AVAILABILITY This option was added in curl 7.64.0 and is present if HTTP support is enabled .SH "SEE ALSO" .BR CURLOPT_TRAILERDATA "(3), " |