Home
last modified time | relevance | path

Searched refs:curl_interface_ (Results 1 – 4 of 4) sorted by relevance

/external/libbrillo/brillo/http/
Dhttp_transport_curl.cc32 : curl_interface_(curl_interface), in SocketPollData()
65 CURLMcode code = curl_interface_->MultiSocketAction( in OnSocketReady()
75 std::shared_ptr<CurlInterface> curl_interface_; member in brillo::http::curl::Transport::SocketPollData
103 : curl_interface_{curl_interface} { in Transport()
110 : curl_interface_{curl_interface}, proxy_{proxy} { in Transport()
129 CURL* curl_handle = curl_interface_->EasyInit(); in CreateConnection()
138 CURLcode code = curl_interface_->EasySetOptStr(curl_handle, CURLOPT_URL, url); in CreateConnection()
143 code = curl_interface_->EasySetOptPtr(curl_handle, CURLOPT_CAINFO, nullptr); in CreateConnection()
147 code = curl_interface_->EasySetOptStr(curl_handle, CURLOPT_CAPATH, in CreateConnection()
152 curl_interface_->EasySetOptInt(curl_handle, CURLOPT_SSL_VERIFYPEER, 1); in CreateConnection()
[all …]
Dhttp_connection_curl.cc62 curl_interface_(curl_interface) { in Connection()
65 curl_interface_->EasySetOptPtr(curl_handle_, CURLOPT_PRIVATE, this); in Connection()
72 curl_interface_->EasyCleanup(curl_handle_); in ~Connection()
94 curl_interface_->EasySetOptCallback( in PrepareRequest()
96 curl_interface_->EasySetOptInt(curl_handle_, CURLOPT_VERBOSE, 1); in PrepareRequest()
108 curl_interface_->EasySetOptOffT( in PrepareRequest()
111 curl_interface_->EasySetOptOffT( in PrepareRequest()
120 curl_interface_->EasySetOptCallback( in PrepareRequest()
122 curl_interface_->EasySetOptPtr(curl_handle_, CURLOPT_READDATA, this); in PrepareRequest()
134 curl_interface_->EasySetOptPtr( in PrepareRequest()
[all …]
Dhttp_connection_curl.h93 std::shared_ptr<CurlInterface> curl_interface_; variable
Dhttp_transport_curl.h129 std::shared_ptr<CurlInterface> curl_interface_; variable