cpp Rest API
Loading...
Searching...
No Matches
curl_connection.hpp
Go to the documentation of this file.
1
2#ifndef CONNECTION_QT_HPP
3#define CONNECTION_QT_HPP
4
5#include "base_connection.hpp"
6#include "cpp_restapi_export.h"
7
8
10{
11 class CPP_RESTAPI_EXPORT Connection: public BaseConnection
12 {
13 public:
14 Connection(const std::string& address, const std::map<std::string, std::string>& headerEntries);
15 Connection(const Connection &) = delete;
16
18
19 Connection& operator=(const Connection &) = delete;
20
21 std::pair<std::string, std::string> fetchPage(const std::string& request) override;
22 };
23}
24
25#endif
base class with common parts for backend specific implementations
Definition base_connection.hpp:17
Definition curl_connection.hpp:12
std::pair< std::string, std::string > fetchPage(const std::string &request) override
Connection & operator=(const Connection &)=delete
Connection(const Connection &)=delete
Connection(const std::string &address, const std::map< std::string, std::string > &headerEntries)
Definition curl_connection.hpp:10