MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / setHeaderList

Method setHeaderList

framework/data_source/curl/CURLConnection.cpp:320–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320void Cicada::CURLConnection::setHeaderList(struct curl_slist *headerList)
321{
322 if (headerList) {
323 curl_easy_setopt(mHttp_handle, CURLOPT_HTTPHEADER, headerList);
324 } else {
325 curl_easy_setopt(mHttp_handle, CURLOPT_HTTPHEADER, NULL);
326 }
327}
328void CURLConnection::setPost(bool post, int64_t size, const uint8_t *data)
329{
330 if (post) {

Callers 1

initConnectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected