MCPcopy Create free account
hub / github.com/cocos/cocos-engine / setOption

Method setOption

native/cocos/network/HttpClient.cpp:222–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220
221 template <class T>
222 bool setOption(CURLoption option, T data) {
223 return CURLE_OK == curl_easy_setopt(_curl, option, data);
224 }
225
226 /**
227 * @brief Inits CURL instance for common usage

Callers 6

processGetTaskFunction · 0.80
processPostTaskFunction · 0.80
processPutTaskFunction · 0.80
processHeadTaskFunction · 0.80
processDeleteTaskFunction · 0.80
processPatchTaskFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected