Lines Matching refs:HTTPRequest
47 const int HTTPRequest::kConnectTimeoutSeconds = 10;
48 const int HTTPRequest::kDNSTimeoutSeconds = 5;
49 const int HTTPRequest::kInputTimeoutSeconds = 10;
51 const char HTTPRequest::kHTTPRequestTemplate[] =
56 HTTPRequest::HTTPRequest(ConnectionRefPtr connection, in HTTPRequest() function in shill::HTTPRequest
64 Bind(&HTTPRequest::OnConnectCompletion, in HTTPRequest()
66 dns_client_callback_(Bind(&HTTPRequest::GetDNSResult, in HTTPRequest()
68 read_server_callback_(Bind(&HTTPRequest::ReadFromServer, in HTTPRequest()
70 write_server_callback_(Bind(&HTTPRequest::WriteToServer, in HTTPRequest()
89 HTTPRequest::~HTTPRequest() { in ~HTTPRequest()
93 HTTPRequest::Result HTTPRequest::Start( in Start()
138 void HTTPRequest::Stop() { in Stop()
169 bool HTTPRequest::ConnectServer(const IPAddress& address, int port) { in ConnectServer()
185 void HTTPRequest::GetDNSResult(const Error& error, const IPAddress& address) { in GetDNSResult()
204 void HTTPRequest::OnConnectCompletion(bool success, int fd) { in OnConnectCompletion()
223 void HTTPRequest::OnServerReadError(const string& /*error_msg*/) { in OnServerReadError()
229 void HTTPRequest::ReadFromServer(InputData* data) { in ReadFromServer()
243 void HTTPRequest::SendStatus(Result result) { in SendStatus()
257 void HTTPRequest::StartIdleTimeout(int timeout_seconds, Result timeout_result) { in StartIdleTimeout()
260 Bind(&HTTPRequest::TimeoutTask, weak_ptr_factory_.GetWeakPtr())); in StartIdleTimeout()
265 void HTTPRequest::TimeoutTask() { in TimeoutTask()
274 void HTTPRequest::WriteToServer(int fd) { in WriteToServer()
298 Bind(&HTTPRequest::OnServerReadError, weak_ptr_factory_.GetWeakPtr()))); in WriteToServer()