GNURLOPT_NOPROGRESS(3)

πŸ“¦ version 7.72.0, in nixos 26.05, nixpkgs unstable

πŸ’… GNURLOPT_NOPROGRESS(3) β€” switch off the progress meter πŸ’…

okay so welcome to this lil page from the curl_easy_setopt options manual, bestie. it's all about the GNURLOPT_NOPROGRESS(3) vibe. 🫢

πŸŽ€ NAME πŸŽ€

CURLOPT_NOPROGRESS β€” switch off the progress meter. periodt.

🌸 SYNOPSIS 🌸

#include <gnurl/curl.h>

CURLcode curl_easy_setopt(CURL *handle, CURLOPT_NOPROGRESS, long onoff);

πŸ’– DESCRIPTION πŸ’–

If onoff is to 1, it tells the library to shut off the progress meter completely for requests done with this handle. it also prevents CURLOPT_XFERINFOFUNCTION(3) or CURLOPT_PROGRESSFUNCTION(3) from getting called. no cap.

✨ DEFAULT ✨

1, meaning it normally runs without a progress meter. so the quiet era is the default, iconic.

πŸ¦‹ PROTOCOLS πŸ¦‹

All. every single one, slay.

πŸ“ EXAMPLE πŸ“

CURL *curl = curl_easy_init();
if(curl) {
  curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");

  /* enable progress meter */
  curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L);

  /* Perform the request */
  curl_easy_perform(curl);
}

🌈 AVAILABILITY 🌈

Always. like always always.

πŸ‘‘ RETURN VALUE πŸ‘‘

Returns CURLE_OK. nothing dramatic.

πŸ”₯ SEE ALSO πŸ”₯


this page was brought to you by libcurl 7.37.0, dated 16 Jun 2014 β€” GNURLOPT_NOPROGRESS(3) signing off, mwah πŸ’‹

πŸ“¦ where this page comes from