/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_response.cpp | 23 HttpResponse::HttpResponse() : responseCode_(0) {} in HttpResponse() function in OHOS::NetStack::Http::HttpResponse 25 void HttpResponse::AppendResult(const void *data, size_t length) in AppendResult() 30 void HttpResponse::AppendRawHeader(const void *data, size_t length) in AppendRawHeader() 35 void HttpResponse::SetResponseCode(uint32_t responseCode) in SetResponseCode() 40 void HttpResponse::ParseHeaders() in ParseHeaders() 62 void HttpResponse::AppendCookies(const void *data, size_t length) in AppendCookies() 67 const std::string &HttpResponse::GetResult() const in GetResult() 72 uint32_t HttpResponse::GetResponseCode() const in GetResponseCode() 77 const std::map<std::string, std::string> &HttpResponse [all...] |
H A D | net_http_cache_strategy.cpp | 45 CacheStatus HttpCacheStrategy::RunStrategy(HttpResponse &response) in RunStrategy() 54 bool HttpCacheStrategy::IsCacheable(const HttpResponse &response) in IsCacheable() 245 CacheStatus HttpCacheStrategy::RunStrategyInternal(HttpResponse &response) in RunStrategyInternal()
|
H A D | net_http_cache_proxy.cpp | 66 HttpResponse cachedResponse; in ReadResponseFromCache() 90 void CacheProxy::WriteResponseToCache(const HttpResponse &response) in WriteResponseToCache()
|
H A D | net_http_request_context.cpp | 134 void RequestContext::SetCacheResponse(const HttpResponse &cacheResponse) in SetCacheResponse() 492 void ParseSetCookie(CArrString &setCookie, HttpResponse &response) in ParseSetCookie()
|
/foundation/communication/netstack/frameworks/js/napi/http/options/src/ |
H A D | http_response.cpp | 22 HttpResponse::HttpResponse() : responseCode_(0) {} in HttpResponse() function in OHOS::NetStack::Http::HttpResponse 24 void HttpResponse::AppendResult(const void *data, size_t length) in AppendResult() 29 void HttpResponse::AppendRawHeader(const void *data, size_t length) in AppendRawHeader() 34 void HttpResponse::SetResponseCode(uint32_t responseCode) in SetResponseCode() 39 void HttpResponse::ParseHeaders() in ParseHeaders() 62 void HttpResponse::AppendCookies(const void *data, size_t length) in AppendCookies() 67 const std::string &HttpResponse::GetResult() const in GetResult() 72 uint32_t HttpResponse::GetResponseCode() const in GetResponseCode() 77 const std::map<std::string, std::string> &HttpResponse [all...] |
/foundation/communication/netstack/test/unittest/http/cache/ |
H A D | HttpCacheStrategyTest.cpp | 46 HttpResponse response; in HWTEST_F() 65 HttpResponse response; in HWTEST_F() 86 HttpResponse response; in HWTEST_F() 105 HttpResponse response; in HWTEST_F() 124 HttpResponse response; in HWTEST_F() 143 HttpResponse response; in HWTEST_F() 162 HttpResponse response; in HWTEST_F() 182 HttpResponse response; in HWTEST_F() 202 HttpResponse response; in HWTEST_F() 221 HttpResponse respons in HWTEST_F() [all...] |
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/include/ |
H A D | http_cache_strategy.h | 41 CacheStatus RunStrategy(HttpResponse &response); 43 bool IsCacheable(const HttpResponse &response); 48 CacheStatus RunStrategyInternal(HttpResponse &response);
|
/foundation/communication/netstack/frameworks/cj/http/include/ |
H A D | net_http_cache_strategy.h | 40 CacheStatus RunStrategy(HttpResponse &response); 42 bool IsCacheable(const HttpResponse &response); 47 CacheStatus RunStrategyInternal(HttpResponse &response);
|
H A D | net_http_response.h | 26 class HttpResponse final { 28 HttpResponse();
|
H A D | net_http_request_context.h | 69 HttpResponse response; 77 void SetCacheResponse(const HttpResponse &cacheResponse); 147 HttpResponse cacheResponse_;
|
H A D | net_http_cache_proxy.h | 35 void WriteResponseToCache(const HttpResponse &response);
|
/foundation/communication/netstack/utils/profiler_utils/include/ |
H A D | http_network_message.h | 28 HttpNetworkMessage(std::string requestId, Http::HttpRequestOptions &request, Http::HttpResponse &response, 40 Http::HttpResponse response_;
|
/foundation/communication/netstack/frameworks/js/napi/http/options/include/ |
H A D | http_response.h | 26 class HttpResponse final { 30 HttpResponse();
|
/foundation/communication/netstack/frameworks/js/napi/http/async_context/include/ |
H A D | request_context.h | 69 HttpResponse response; 77 void SetCacheResponse(const HttpResponse &cacheResponse); 151 HttpResponse cacheResponse_;
|
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_proxy/include/ |
H A D | cache_proxy.h | 33 void WriteResponseToCache(const HttpResponse &response);
|
/foundation/communication/netstack/test/unittest/utils/profiler_utils/ |
H A D | NetstackNetworkProfilerUtilsTest.cpp | 122 Http::HttpResponse response{}; in HWTEST_F() 132 Http::HttpResponse response{}; in HWTEST_F() 141 Http::HttpResponse response{}; in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/websocket_test/ |
H A D | NetstackNetworkProfilerUtilsTest.cpp | 122 Http::HttpResponse response{};
in HWTEST_F() 132 Http::HttpResponse response{};
in HWTEST_F() 141 Http::HttpResponse response{};
in HWTEST_F()
|
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/src/ |
H A D | http_cache_strategy.cpp | 48 CacheStatus HttpCacheStrategy::RunStrategy(HttpResponse &response) in RunStrategy() 57 bool HttpCacheStrategy::IsCacheable(const HttpResponse &response) in IsCacheable() 247 CacheStatus HttpCacheStrategy::RunStrategyInternal(HttpResponse &response) in RunStrategyInternal()
|
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_proxy/src/ |
H A D | cache_proxy.cpp | 77 HttpResponse cachedResponse; in ReadResponseFromCache() 101 void CacheProxy::WriteResponseToCache(const HttpResponse &response) in WriteResponseToCache()
|
/foundation/communication/netstack/utils/profiler_utils/src/ |
H A D | http_network_message.cpp | 27 Http::HttpResponse &response, CURL *handle) in HttpNetworkMessage()
|
/foundation/communication/netstack/frameworks/js/napi/http/async_context/src/ |
H A D | request_context.cpp | 492 void RequestContext::SetCacheResponse(const HttpResponse &cacheResponse) in SetCacheResponse()
|