Lines Matching refs:http
16 #include <brillo/http/http_transport.h>
17 #include <brillo/http/http_utils.h>
20 namespace http {
28 // A fake implementation of http::Transport that simulates HTTP communication
31 class Transport : public http::Transport {
41 // for specific URL/HTTP-verb combination. When a specific |method| request
46 // any requests. So, ("http://localhost","*") will handle any request type
63 // For tests that want to assert on the number of HTTP requests sent,
85 // Overrides from http::Transport.
86 std::shared_ptr<http::Connection> CreateConnection(
97 RequestID StartAsyncTransfer(http::Connection* connection,
125 // functionality to work with request/response HTTP headers and data.
140 // Add/retrieve request/response HTTP headers.
158 // A container class that encapsulates all the HTTP server request information.
181 // Flag used on first request to GetFormField to parse the body of HTTP POST
189 // A container class that encapsulates all the HTTP server response information.
238 // For handlers that want to simulate versions of HTTP protocol other
239 // than HTTP/1.1, call this method with the custom version string,
240 // for example "HTTP/1.0".
258 std::string protocol_version_ = "HTTP/1.1";
264 } // namespace http