Home | History | Annotate | Download | only in http

Lines Matching refs:Response

24 std::unique_ptr<Response> GetAndBlock(const std::string& url,
45 std::unique_ptr<Response> HeadAndBlock(const std::string& url,
64 std::unique_ptr<Response> PostTextAndBlock(const std::string& url,
91 std::unique_ptr<Response> SendRequestAndBlock(
107 return std::unique_ptr<Response>();
112 std::unique_ptr<Response> SendRequestWithNoDataAndBlock(
182 std::unique_ptr<Response> PostBinaryAndBlock(
236 std::unique_ptr<Response> PostFormDataAndBlock(
252 std::unique_ptr<Response> PostFormDataAndBlock(
261 return std::unique_ptr<Response>();
299 std::unique_ptr<Response> PostJsonAndBlock(const std::string& url,
336 std::unique_ptr<Response> PatchJsonAndBlock(
376 Response* response,
380 if (!response)
384 *status_code = response->GetStatusCode();
388 auto content_type = RemoveParameters(response->GetContentType());
393 "Unexpected response content type: " + content_type);
397 std::string json = response->ExtractDataAsString();
412 "Response is not a valid JSON object: '%s'",