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