![]() |
![]()
| ![]() |
![]()
NAMECURLOPT_TRAILERDATA - pointer passed to trailing headers callback SYNOPSIS#include <curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TRAILERDATA, void *userdata); DESCRIPTIONData pointer to be passed to the HTTP trailer callback function. DEFAULTNULL PROTOCOLSThis functionality affects http only EXAMPLEstruct MyData { AVAILABILITYAdded in curl 7.64.0 RETURN VALUEcurl_easy_setopt(3) returns a CURLcode indicating success or error. CURLE_OK (0) means everything was OK, non-zero means an error occurred, see libcurl-errors(3). SEE ALSOCURLOPT_TRAILERFUNCTION(3), CURLOPT_WRITEFUNCTION(3)
|