Skip to content
Snippets Groups Projects
Verified Commit cb217077 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Actually link to response headers

parent ac934fa8
No related branches found
No related tags found
No related merge requests found
Pipeline #4831 passed
...@@ -55,7 +55,7 @@ struct Request { ...@@ -55,7 +55,7 @@ struct Request {
//! "application/octet-stream". //! "application/octet-stream".
Request &request(std::string r, std::string contenttype = "application/octet-stream"); Request &request(std::string r, std::string contenttype = "application/octet-stream");
/// @brief Headers for this request. /// @brief Headers for this request.
/// @sa request_headers() const /// @sa response_headers() const
Request &request_headers(const Headers &h); Request &request_headers(const Headers &h);
//! Timeout connection after the specified amount of seconds, if the server //! Timeout connection after the specified amount of seconds, if the server
//! stops sending acks. //! stops sending acks.
...@@ -77,7 +77,7 @@ struct Request { ...@@ -77,7 +77,7 @@ struct Request {
//! The curl error code. CURLE_OK (0) on success. //! The curl error code. CURLE_OK (0) on success.
CURLcode error_code() const { return curl_error; } CURLcode error_code() const { return curl_error; }
/// @brief Headers for the response /// @brief Headers for the response
/// @sa request_headers(std::string, std::string) /// @sa request_headers(const Headers &)
Headers response_headers() const { return response_headers_; } Headers response_headers() const { return response_headers_; }
private: private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment