Lines Matching +full:- +full:scheme
8 .\" * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
26 CURLINFO_SCHEME \- get the URL scheme (sometimes called protocol) used in the connection
30 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SCHEME, char **scheme);
32 Pass a pointer to a char pointer to receive the pointer to a zero-terminated
33 string holding the URL scheme used for the most recent connection done with
36 The \fBscheme\fP pointer will be NULL or pointing to private memory you MUST
37 NOT free - it gets freed when you call \fIcurl_easy_cleanup(3)\fP on the
49 char *scheme = NULL;
50 curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme);
51 if(scheme)
52 printf("scheme: %s\\n", scheme); /* scheme: HTTP */