| Index: util/net/http_transport.h
|
| diff --git a/util/net/http_transport.h b/util/net/http_transport.h
|
| index 554821535fad50ef6a22180848fb11d23ce74d33..333986a9772be4ad8338d31678d461cd4772eed3 100644
|
| --- a/util/net/http_transport.h
|
| +++ b/util/net/http_transport.h
|
| @@ -74,9 +74,13 @@ class HTTPTransport {
|
| //! \brief Performs the HTTP request with the configured parameters and waits
|
| //! for the execution to complete.
|
| //!
|
| + //! \param[out] response On success, this will be set to the HTTP response
|
| + //! body. This parameter is optional and may be set to `nullptr` if the
|
| + //! response body is not required.
|
| + //!
|
| //! \return Whether or not the request was successful, defined as returning
|
| //! a HTTP status 200 (OK) code.
|
| - virtual bool ExecuteSynchronously() = 0;
|
| + virtual bool ExecuteSynchronously(std::string* response_body) = 0;
|
|
|
| protected:
|
| HTTPTransport();
|
|
|