GNURLINFO_...LIENT_CSEQ(3)

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

πŸ’… NAME πŸ’…

CURLINFO_RTSP_CLIENT_CSEQ β€” get the next RTSP client CSeq.

okay so bestie, this is the curl_easy_getinfo options manual section, and this page is serving RTSP CSeq realness ✨

✨ SYNOPSIS ✨

#include <gnurl/curl.h>

CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_RTSP_CLIENT_CSEQ, long *cseq);

πŸ¦‹ DESCRIPTION πŸ¦‹

Pass a pointer to a long, and it will receive the next CSeq that will be used by the application. That's the whole vibe, no cap πŸ’–

🌸 PROTOCOLS 🌸

  • RTSP

πŸŽ€ EXAMPLE πŸŽ€

CURL *curl = curl_easy_init();
if(curl) {
  CURLcode res;
  curl_easy_setopt(curl, CURLOPT_URL, "rtsp://rtsp.example.com");
  res = curl_easy_perform(curl);
  if(res == CURLE_OK) {
    long cseq;
    curl_easy_getinfo(curl, CURLINFO_RTSP_CLIENT_CSEQ, &cseq);
  }
  curl_easy_cleanup(curl);
}

⭐ AVAILABILITY ⭐

Added in 7.20.0 β€” lowkey a classic, highkey iconic πŸ‘‘

🫢 RETURN VALUE 🫢

Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. Simple as that, fr fr.

πŸ’€ SEE ALSO πŸ’€


and that's the page, bestie 🧚 this little icon is from libcurl 7.44.0, dated 1 Sep 2015 β€” mwah πŸ’‹

πŸ“¦ where this page comes from