cpp Rest API master
C++ library for REST API access with Qt, Curl and cpp-httplib backends
 
Loading...
Searching...
No Matches
create_qt_connection.hpp
Go to the documentation of this file.
1
2#ifndef CREATE_QT_CONNECTION_HPP_INCLUDED
3#define CREATE_QT_CONNECTION_HPP_INCLUDED
4
5#include <map>
6#include <memory>
7#include <string>
8
9#include "cpp_restapi_export.h"
10
11class QNetworkAccessManager;
12
13namespace cpp_restapi
14{
15 struct IConnection;
16
24 CPP_RESTAPI_EXPORT std::unique_ptr<IConnection> createQtConnection(
25 QNetworkAccessManager& manager,
26 const std::string& address,
27 const std::map<std::string, std::string>& headerEntries);
28}
29
30#endif
Definition base_connection.hpp:13
CPP_RESTAPI_EXPORT std::unique_ptr< IConnection > createQtConnection(QNetworkAccessManager &manager, const std::string &address, const std::map< std::string, std::string > &headerEntries)
Create a connection using the Qt backend.