Public Member Functions | |
Response | Delete () |
Response | Get () |
Response | Head () |
Impl () | |
Response | Options () |
Response | Patch () |
Response | Post () |
Response | Put () |
void | SetAuth (const Authentication &auth) |
void | SetBody (Body &&body) |
void | SetBody (const Body &body) |
void | SetCookies (const Cookies &cookies) |
void | SetDigest (const Digest &auth) |
void | SetHeader (const Header &header) |
void | SetLowSpeed (const LowSpeed &low_speed) |
void | SetMaxRedirects (const MaxRedirects &max_redirects) |
void | SetMultipart (Multipart &&multipart) |
void | SetMultipart (const Multipart &multipart) |
void | SetParameters (const Parameters ¶meters) |
void | SetParameters (Parameters &¶meters) |
void | SetPayload (Payload &&payload) |
void | SetPayload (const Payload &payload) |
void | SetProxies (Proxies &&proxies) |
void | SetProxies (const Proxies &proxies) |
void | SetRedirect (const bool &redirect) |
void | SetTimeout (const Timeout &timeout) |
void | SetUrl (const Url &url) |
void | SetVerifySsl (const VerifySsl &verify) |
Private Member Functions | |
Response | makeRequest (CURL *curl) |
Static Private Member Functions | |
static void | freeHolder (CurlHolder *holder) |
static CurlHolder * | newHolder () |
Private Attributes | |
std::unique_ptr< CurlHolder, std::function< void(CurlHolder *)> | curl_ ) |
Parameters | parameters_ |
Proxies | proxies_ |
Url | url_ |
Definition at line 14 of file session.cpp.
Definition at line 58 of file session.cpp.
Definition at line 294 of file session.cpp.
void cpr::Session::Impl::freeHolder | ( | CurlHolder * | holder | ) | [static, private] |
Definition at line 85 of file session.cpp.
Definition at line 305 of file session.cpp.
Definition at line 317 of file session.cpp.
Response cpr::Session::Impl::makeRequest | ( | CURL * | curl | ) | [private] |
Definition at line 370 of file session.cpp.
CurlHolder * cpr::Session::Impl::newHolder | ( | ) | [static, private] |
Definition at line 92 of file session.cpp.
Definition at line 328 of file session.cpp.
Definition at line 340 of file session.cpp.
Definition at line 350 of file session.cpp.
Definition at line 360 of file session.cpp.
void cpr::Session::Impl::SetAuth | ( | const Authentication & | auth | ) |
Definition at line 135 of file session.cpp.
void cpr::Session::Impl::SetBody | ( | Body && | body | ) |
Definition at line 262 of file session.cpp.
void cpr::Session::Impl::SetBody | ( | const Body & | body | ) |
Definition at line 270 of file session.cpp.
void cpr::Session::Impl::SetCookies | ( | const Cookies & | cookies | ) |
Definition at line 254 of file session.cpp.
void cpr::Session::Impl::SetDigest | ( | const Digest & | auth | ) |
Definition at line 143 of file session.cpp.
void cpr::Session::Impl::SetHeader | ( | const Header & | header | ) |
Definition at line 110 of file session.cpp.
void cpr::Session::Impl::SetLowSpeed | ( | const LowSpeed & | low_speed | ) |
Definition at line 278 of file session.cpp.
void cpr::Session::Impl::SetMaxRedirects | ( | const MaxRedirects & | max_redirects | ) |
Definition at line 247 of file session.cpp.
void cpr::Session::Impl::SetMultipart | ( | Multipart && | multipart | ) |
Definition at line 175 of file session.cpp.
void cpr::Session::Impl::SetMultipart | ( | const Multipart & | multipart | ) |
Definition at line 208 of file session.cpp.
void cpr::Session::Impl::SetParameters | ( | const Parameters & | parameters | ) |
Definition at line 102 of file session.cpp.
void cpr::Session::Impl::SetParameters | ( | Parameters && | parameters | ) |
Definition at line 106 of file session.cpp.
void cpr::Session::Impl::SetPayload | ( | Payload && | payload | ) |
Definition at line 151 of file session.cpp.
void cpr::Session::Impl::SetPayload | ( | const Payload & | payload | ) |
Definition at line 159 of file session.cpp.
void cpr::Session::Impl::SetProxies | ( | Proxies && | proxies | ) |
Definition at line 171 of file session.cpp.
void cpr::Session::Impl::SetProxies | ( | const Proxies & | proxies | ) |
Definition at line 167 of file session.cpp.
void cpr::Session::Impl::SetRedirect | ( | const bool & | redirect | ) |
Definition at line 240 of file session.cpp.
void cpr::Session::Impl::SetTimeout | ( | const Timeout & | timeout | ) |
Definition at line 128 of file session.cpp.
void cpr::Session::Impl::SetUrl | ( | const Url & | url | ) |
Definition at line 98 of file session.cpp.
void cpr::Session::Impl::SetVerifySsl | ( | const VerifySsl & | verify | ) |
Definition at line 286 of file session.cpp.
std::unique_ptr<CurlHolder, std::function<void(CurlHolder*)> cpr::Session::Impl::curl_) [private] |
Definition at line 48 of file session.cpp.
Parameters cpr::Session::Impl::parameters_ [private] |
Definition at line 50 of file session.cpp.
Proxies cpr::Session::Impl::proxies_ [private] |
Definition at line 51 of file session.cpp.
Url cpr::Session::Impl::url_ [private] |
Definition at line 49 of file session.cpp.