GNURLOPT_VERBOSE(3)
π
NAME β GNURLOPT_VERBOSE(3) edition π
okay so bestie, welcome to GNURLOPT_VERBOSE(3), part of the curl_easy_setopt options family β¨. This is the page for CURLOPT_VERBOSE β set verbose mode on/off. That's the assignment, no cap.
CURLOPT_VERBOSEβ set verbose mode on/off. periodt π
β¨ SYNOPSIS β¨
the sacred summoning spell, exactly as written:
#include <gnurl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_VERBOSE, long onoff);
π¦ DESCRIPTION π¦
Set the onoff parameter to 1 to make the library display a lot of verbose information about its operations on this handle. Very useful for libcurl and/or protocol debugging and understanding. The verbose information will be sent to stderr, or the stream set with CURLOPT_STDERR(3).
π¨ real talk, bestie: you hardly ever want this set in production use. You will almost always want this when you debug/report problems.
To also get all the protocol data sent and received, consider using CURLOPT_DEBUGFUNCTION(3). That's the extra-lore option, iykyk π₯.
π DEFAULT π
0, meaning disabled. so it's off unless you say otherwise, bestie π€.
π PROTOCOLS π
All β every single one, slay.
π₯ EXAMPLE π₯
here's the whole little ritual, copied exactly:
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
/* ask libcurl to show us the verbose output */
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
/* Perform the request */
curl_easy_perform(curl);
}
β AVAILABILITY β
Always β it's giving timeless icon behavior π.
π RETURN VALUE π
Returns CURLE_OK β that's the good ending, periodt π.
π SEE ALSO π
The SEE ALSO besties are: CURLOPT_STDERR(3), CURLOPT_DEBUGFUNCTION(3), CURLOPT_ERRORBUFFER(3), β yes, the trailing comma is real, no cap π
and that's the page, bestie π«Ά β brought to you by libcurl 7.37.0, dated 16 Jun 2014, with GNURLOPT_VERBOSE(3) energy all over it. mwah πβ¨
π¦ where this page comes from
- nixos 26.05: libgnurl 7.72.0
- nixpkgs unstable: libgnurl 7.72.0
- Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms