Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
CURLOPT_TRAILERDATA(3) | curl_easy_setopt options | CURLOPT_TRAILERDATA(3) |
NAME
CURLOPT_TRAILERDATA - pointer passed to trailing headers callbackSYNOPSIS
#include <curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TRAILERDATA, void *userdata);
DESCRIPTION
Data pointer to be passed to the HTTP trailer callback function.DEFAULT
NULLPROTOCOLS
HTTPEXAMPLE
/* Assuming we have a CURL handle in the hndl variable. */
struct MyData data;
curl_easy_setopt(hndl, CURLOPT_TRAILERDATA, &data);
AVAILABILITY
This option was added in curl 7.64.0 and is present if HTTP support is enabledRETURN VALUE
Returns CURLE_OK.SEE ALSO
CURLOPT_TRAILERFUNCTION(3),May 17, 2022 | libcurl 7.84.0 |