CobraMetricThreadedPublisher _enable flag is an atomic, and CobraMetricsPublisher is enabled by default

This commit is contained in:
Benjamin Sergeant
2019-08-14 19:53:57 -07:00
parent e98ec9ec75
commit 2f730303c2
5 changed files with 11 additions and 4 deletions

View File

@ -170,7 +170,7 @@ out = httpClient.post(url, std::string("foo=bar"), args);
//
// Result
//
auto errorCode = response->errorCode; // Can be HttpErrorCode::Ok, HttpErrorCode::UrlMalformed, etc...
auto statusCode = response->statusCode; // Can be HttpErrorCode::Ok, HttpErrorCode::UrlMalformed, etc...
auto errorCode = response->errorCode; // 200, 404, etc...
auto responseHeaders = response->headers; // All the headers in a special case-insensitive unordered_map of (string, string)
auto payload = response->payload; // All the bytes from the response as an std::string