/ohos5.0/foundation/communication/netstack/test/unittest/http_client/ |
H A D | HttpClientResponseTest.cpp | 137 string cookies = ""; variable 138 cookies.append(emptyHead); 139 cookies.append(errHead); 140 cookies.append(realHead); 145 EXPECT_EQ(cookies, ret);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkweb/ |
H A D | _ark_web___cookie_manager_a_p_i.md | 24 | void(\* [clearAllCookiesSync](#clearallcookiessync) )(bool incognito) | 清除所有cookies。 | 38 清除所有cookies。 44 | incognito | true表示清除隐私模式下的所有cookies,false表示清除非隐私模式下的所有cookies。 |
|
/ohos5.0/foundation/communication/netstack/frameworks/native/http/http_client/ |
H A D | http_client_task.cpp | 526 struct curl_slist *cookies = nullptr; in ProcessCookie() local 532 CURLcode res = curl_easy_getinfo(handle, CURLINFO_COOKIELIST, &cookies); in ProcessCookie() 538 while (cookies) { in ProcessCookie() 539 response_.AppendCookies(cookies->data, strlen(cookies->data)); in ProcessCookie() 540 if (cookies->next != nullptr) { in ProcessCookie() 543 cookies = cookies->next; in ProcessCookie()
|
H A D | http_client_response.cpp | 112 void HttpClientResponse::SetCookies(const std::string &cookies) in SetCookies() argument 114 cookies_ = cookies; in SetCookies()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkweb/ |
H A D | _ark_web___cookie_manager_a_p_i.md | 24 …ync](#clearallcookiessync) )(bool incognito) | Pointer to the function used to clear all cookies. | 25 | void(\* clearSessionCookiesSync )() | Pointer to the function used to clear all session cookies.… 38 Pointer to the function used to clear all cookies. 44 | incognito | Whether to clear all cookies in incognito mode (true) or in non-incognito mode (false…
|
/ohos5.0/docs/en/application-dev/web/ |
H A D | web-incognito-mode.md | 4 …s-web.md#apis) to **true**. When incognito mode is enabled, data such as cookies and cache data du… 54 In incognito mode, you can use the following APIs for geolocation information, cookies, and cache d… 285 …istCookie](../reference/apis-arkweb/js-apis-webview.md#existcookie) to check whether cookies exist. 300 …// The parameter of existCookie specifies whether to check for cookies in incognito mode (true) or… 310 …kiesSync](../reference/apis-arkweb/js-apis-webview.md#clearallcookiessync11) to delete all cookies. 325 …// The parameter of clearAllCookiesSync specifies whether to delete all cookies in incognito mode …
|
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_response.cpp | 107 void HttpResponse::SetCookies(const std::string &cookies) in SetCookies() argument 109 cookies_ = cookies; in SetCookies()
|
H A D | net_http_client_exec.cpp | 191 struct curl_slist *cookies = nullptr; in GetCurlDataFromHandle() local 192 code = curl_easy_getinfo(handle, CURLINFO_COOKIELIST, &cookies); in GetCurlDataFromHandle() 198 …std::unique_ptr<struct curl_slist, decltype(&curl_slist_free_all)> cookiesHandle(cookies, curl_sli… in GetCurlDataFromHandle() 199 while (cookies) { in GetCurlDataFromHandle() 200 context->response.AppendCookies(cookies->data, strlen(cookies->data)); in GetCurlDataFromHandle() 201 if (cookies->next != nullptr) { in GetCurlDataFromHandle() 205 cookies = cookies->next; in GetCurlDataFromHandle()
|
H A D | net_http_request_context.cpp | 517 .cookies = nullptr, in SendResponse() 524 resp.cookies = MallocCString(response.GetCookies()); in SendResponse()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/options/src/ |
H A D | http_response.cpp | 107 void HttpResponse::SetCookies(const std::string &cookies) in SetCookies() argument 109 cookies_ = cookies; in SetCookies()
|
/ohos5.0/docs/zh-cn/application-dev/web/ |
H A D | web-incognito-mode.md | 243 // fetchCookieSync第二个参数表示获取隐私模式(true)或非隐私模式(false)下,webview的内存cookies。 273 // configCookieSync第三个参数表示获取隐私模式(true)或非隐私模式(false)下,对应url的cookies。 300 // existCookie参数表示隐私模式(true)或非隐私模式(false)下,查询是否存在cookies。 325 // clearAllCookiesSync参数表示清除隐私模式(true)或非隐私模式(false)下,webview的所有内存cookies。
|
/ohos5.0/docs/zh-cn/readme/ |
H A D | 网络管理子系统.md | 139 console.info('cookies:' + JSON.stringify(data.cookies)); // 8+
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-network-kit/ |
H A D | js-apis-http.md | 85 console.info('cookies:' + JSON.stringify(data.cookies)); // 自API version 8开始支持cookie 212 console.info('cookies:' + data.cookies); // 自API version 8开始支持cookie 228 > 如需传入cookies,请开发者自行在参数options中添加。 320 console.info('cookies:' + data.cookies); // 自API version 8开始支持cookie 336 > 如需传入cookies,请开发者自行在参数options中添加。 423 console.info('cookies:' + data.cookies); // 自API version 8开始支持cookie 1191 | cookies<sup>8+</sup> | string | 是 | 服务器返回的原始cookies。开发者可自… 1338 将缓存中的数据写入文件系统,以便在下一个HTTP请求中访问所有缓存数据,使用callback方式作为异步方法。缓存数据包括:响应头(header)、响应体(result)、cookies、请求时间(…
|
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/include/ |
H A D | ffi_structs.h | 101 char* cookies; member
|
H A D | net_http_response.h | 42 void SetCookies(const std::string &cookies);
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/options/include/ |
H A D | http_response.h | 42 void SetCookies(const std::string &cookies);
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/ |
H A D | http_exec.cpp | 311 struct curl_slist *cookies = nullptr; in AddCurlHandle() local 312 code = curl_easy_getinfo(handle, CURLINFO_COOKIELIST, &cookies); in AddCurlHandle() 318 …std::unique_ptr<struct curl_slist, decltype(&curl_slist_free_all)> cookiesHandle(cookies, curl_sli… in AddCurlHandle() 319 while (cookies) { in AddCurlHandle() 320 context->response.AppendCookies(cookies->data, strlen(cookies->data)); in AddCurlHandle() 321 if (cookies->next != nullptr) { in AddCurlHandle() 325 cookies = cookies->next; in AddCurlHandle()
|
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/http_client/include/ |
H A D | http_client_response.h | 148 void SetCookies(const std::string &cookies);
|
/ohos5.0/foundation/communication/netstack/interfaces/kits/js/ |
H A D | @ohos.net.http.d.ts | 2446 cookies: string;
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/devicemanager/src/ |
H A D | audio_device_adapter_impl.cpp | 57 std::shared_ptr<AudioDeviceAdapterImpl> cookies = AudioDeviceAdapterImpl::GetParamCallback(); in ParamCallback() local 59 value.c_str(), static_cast<void *>(&reserved), cookies); in ParamCallback()
|
/ohos5.0/docs/zh-cn/application-dev/network/ |
H A D | http-request.md | 103 console.info('cookies:' + JSON.stringify(data.cookies)); // 8+
|
/ohos5.0/docs/en/readme/ |
H A D | network-management.md | 139 console.info('cookies:' + JSON.stringify(data.cookies)); // 8+
|
/ohos5.0/docs/en/application-dev/reference/apis-network-kit/ |
H A D | js-apis-http.md | 85 …console.info('cookies:' + JSON.stringify(data.cookies)); // Cookies are supported since API versio… 212 console.info('cookies:' + data.cookies); // Cookies are supported since API version 8. 228 > If you need to pass in cookies, add them to the **options** parameter. 320 console.info('cookies:' + data.cookies); // Cookies are supported since API version 8. 336 > If you need to pass in cookies, add them to the **options** parameter. 423 console.info('cookies:' + data.cookies); // Cookies are supported since API version 8. 1191 | cookies<sup>8+</sup> | string | Yes | Original cookies ret… 1338 …ched data includes the response header (header), response body (result), cookies, request time (re…
|
/ohos5.0/foundation/communication/netstack/ |
H A D | README_zh.md | 148 | cookies<sup>8+</sup> | string | 是 | 服务器返回的 cookies。 …
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/test_example/ |
H A D | distributedaudiotest.cpp | 82 void *cookies = nullptr; in ParamCallback() local 84 value.c_str(), static_cast<void *>(&reserved), cookies); in ParamCallback()
|