Belle II Software light-2406-ragdoll
CurlSession Struct Reference

struct encapsulating all the state information needed by curl More...

Public Attributes

CURL * curl {nullptr}
 curl session information
 
curl_slist * headers {nullptr}
 headers to send with every request
 
char errbuf [CURL_ERROR_SIZE]
 error buffer in case some error happens during downloading
 
double lasttime {0}
 last time we printed the status (in ns)
 

Detailed Description

struct encapsulating all the state information needed by curl

Definition at line 28 of file Downloader.cc.

Member Data Documentation

◆ curl

CURL* curl {nullptr}

curl session information

Definition at line 30 of file Downloader.cc.

◆ errbuf

char errbuf[CURL_ERROR_SIZE]

error buffer in case some error happens during downloading

Definition at line 34 of file Downloader.cc.

◆ headers

curl_slist* headers {nullptr}

headers to send with every request

Definition at line 32 of file Downloader.cc.

◆ lasttime

double lasttime {0}

last time we printed the status (in ns)

Definition at line 36 of file Downloader.cc.


The documentation for this struct was generated from the following file: