class HTTPClient
Defined at line 64 of file ../../third_party/cobalt/src/public/lib/http_client.h
HTTPClient should implement *either* Post or PostSync. If one is implemented, the other will be
implemented based on the other.
Public Methods
std::future<StatusOr<HTTPResponse>> Post (HTTPRequest request, std::chrono::steady_clock::time_point deadline)
Post an HTTPRequest which will timeout after |timeout_ms| milliseconds.
Defined at line 67 of file ../../third_party/cobalt/src/public/lib/http_client.h
StatusOr<HTTPResponse> PostSync (HTTPRequest request, std::chrono::steady_clock::time_point deadline)
Defined at line 76 of file ../../third_party/cobalt/src/public/lib/http_client.h
void ~HTTPClient ()
Defined at line 81 of file ../../third_party/cobalt/src/public/lib/http_client.h