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

Fix documentation links

parent 3fb00b27
No related branches found
No related tags found
No related merge requests found
Pipeline #4830 passed
......@@ -138,15 +138,16 @@ struct Client {
//! Set whether to \a verify the https certificates or not.
void set_verify_peer(bool verify) { this->verify_peer_ = verify; }
/// @brief Query whether certificate verification is enabled or not
/// @sa set_verify_peer
bool does_verify_peer() { return this->verify_peer_; }
/// @sa set_verify_peer(bool)
bool does_verify_peer() const { return this->verify_peer_; }
//! Set whether or not to log curl requests verbosely.
/// @sa verbose and also CURLOPT_VERBOSE
/// @sa verbose() const
/// @sa https://curl.se/libcurl/c/CURLOPT_VERBOSE.html
void verbose(bool verbose) { this->verbose_logging_ = verbose; }
/// @brief Query whether verbose logging is enabled or not
/// @sa verbose(bool)
bool verbose() { return this->verbose_logging_; }
bool verbose() const { return this->verbose_logging_; }
//! Timeout connection after the specified amount of seconds, if the server
//! stops sending acks.
......
......@@ -55,7 +55,7 @@ struct Request {
//! "application/octet-stream".
Request &request(std::string r, std::string contenttype = "application/octet-stream");
/// @brief Headers for this request.
/// @sa request_headers
/// @sa request_headers() const
Request &request_headers(const Headers &h);
//! Timeout connection after the specified amount of seconds, if the server
//! stops sending acks.
......@@ -77,7 +77,7 @@ struct Request {
//! The curl error code. CURLE_OK (0) on success.
CURLcode error_code() const { return curl_error; }
/// @brief Headers for the response
/// @sa request_headers
/// @sa request_headers(std::string, std::string)
Headers response_headers() const { return response_headers_; }
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