Home
last modified time | relevance | path

Searched refs:HttpResponse (Results 1 - 21 of 21) sorted by relevance

/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_response.cpp23 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 Dnet_http_cache_strategy.cpp45 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 Dnet_http_cache_proxy.cpp66 HttpResponse cachedResponse; in ReadResponseFromCache()
90 void CacheProxy::WriteResponseToCache(const HttpResponse &response) in WriteResponseToCache()
H A Dnet_http_request_context.cpp134 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 Dhttp_response.cpp22 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 DHttpCacheStrategyTest.cpp46 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 Dhttp_cache_strategy.h41 CacheStatus RunStrategy(HttpResponse &response);
43 bool IsCacheable(const HttpResponse &response);
48 CacheStatus RunStrategyInternal(HttpResponse &response);
/foundation/communication/netstack/frameworks/cj/http/include/
H A Dnet_http_cache_strategy.h40 CacheStatus RunStrategy(HttpResponse &response);
42 bool IsCacheable(const HttpResponse &response);
47 CacheStatus RunStrategyInternal(HttpResponse &response);
H A Dnet_http_response.h26 class HttpResponse final {
28 HttpResponse();
H A Dnet_http_request_context.h69 HttpResponse response;
77 void SetCacheResponse(const HttpResponse &cacheResponse);
147 HttpResponse cacheResponse_;
H A Dnet_http_cache_proxy.h35 void WriteResponseToCache(const HttpResponse &response);
/foundation/communication/netstack/utils/profiler_utils/include/
H A Dhttp_network_message.h28 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 Dhttp_response.h26 class HttpResponse final {
30 HttpResponse();
/foundation/communication/netstack/frameworks/js/napi/http/async_context/include/
H A Drequest_context.h69 HttpResponse response;
77 void SetCacheResponse(const HttpResponse &cacheResponse);
151 HttpResponse cacheResponse_;
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_proxy/include/
H A Dcache_proxy.h33 void WriteResponseToCache(const HttpResponse &response);
/foundation/communication/netstack/test/unittest/utils/profiler_utils/
H A DNetstackNetworkProfilerUtilsTest.cpp122 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 DNetstackNetworkProfilerUtilsTest.cpp122 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 Dhttp_cache_strategy.cpp48 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 Dcache_proxy.cpp77 HttpResponse cachedResponse; in ReadResponseFromCache()
101 void CacheProxy::WriteResponseToCache(const HttpResponse &response) in WriteResponseToCache()
/foundation/communication/netstack/utils/profiler_utils/src/
H A Dhttp_network_message.cpp27 Http::HttpResponse &response, CURL *handle) in HttpNetworkMessage()
/foundation/communication/netstack/frameworks/js/napi/http/async_context/src/
H A Drequest_context.cpp492 void RequestContext::SetCacheResponse(const HttpResponse &cacheResponse) in SetCacheResponse()

Completed in 14 milliseconds