"Fossies" - the Fresh Open Source Software Archive

Member "curl-7.66.0/docs/libcurl/opts/CURLOPT_TRAILERDATA.3" (11 Sep 2019, 1871 Bytes) of package /linux/www/curl-7.66.0.tar.xz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "CURLOPT_TRAILERDATA.3": 7.65.3_vs_7.66.0.

CURLOPT_TRAILERDATA

NAME:
SYNOPSIS:
DESCRIPTION:
DEFAULT:
PROTOCOLS:
EXAMPLE:
AVAILABILITY:
SEE ALSO

NAME:

CURLOPT_TRAILERDATA − Custom pointer passed to the trailing headers callback

SYNOPSIS:

#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:

NULL

PROTOCOLS:

HTTP

EXAMPLE:

/* Assuming we have a CURL handle in the hndl variable. */

struct MyData data;

curl_easy_setopt(hndl, CURLOPT_TRAILERDATA, &data);

A more complete example can be found in examples/http_trailers.html

AVAILABILITY:

This option was added in curl 7.64.0 and is present if HTTP support is enabled

SEE ALSO

CURLOPT_TRAILERFUNCTION(3),