Home | History | Annotate | Download | only in http

Lines Matching refs:Response

82 // HTTP response header names
164 // No response acceptable to client found
191 // Error response received from gateway
201 class Response; // Just a forward declaration.
211 // and obtain the server response. The returned Response object can be
212 // used to inspect the response code, HTTP headers and/or response body.
249 // Adds a stream for the response. Otherwise a MemoryStream will be used.
278 // Sends the request to the server and blocks until the response is received,
279 // which is returned as the response object.
283 std::unique_ptr<Response> GetResponseAndBlock(brillo::ErrorPtr* error);
285 // Sends out the request and invokes the |success_callback| when the response
302 // sent and before the response is requested.
317 // List of acceptable response data types.
336 // Response class is returned from Request::GetResponse() and is a way
337 // to get to response status, error codes, response HTTP headers and response
340 class BRILLO_EXPORT Response final {
342 explicit Response(const std::shared_ptr<Connection>& connection);
343 ~Response();
354 // Returns the content type of the response data.
357 // Returns response data stream by transferring ownership of the data stream
358 // from Response class to the caller.
361 // Extracts the data from the underlying response data stream as a byte array.
364 // Extracts the data from the underlying response data stream as a string.
367 // Returns a value of a given response HTTP header.
375 DISALLOW_COPY_AND_ASSIGN(Response);