OpenTera WebRTC API (C++) 1.2.6
Http.h
1 #ifndef OPENTERA_WEBRTC_NATIVE_CLIENT_UTILS_HTTP_H
2 #define OPENTERA_WEBRTC_NATIVE_CLIENT_UTILS_HTTP_H
3 
4 #include <cstdint>
5 #include <functional>
6 #include <map>
7 #include <string>
8 
9 namespace opentera
10 {
11  class Http
12  {
13  public:
14  static bool
15  get(const std::string& url,
16  std::string& response,
17  std::multimap<std::string, std::string> headers,
18  bool verifyCertificate = true);
19  static bool splitUrl(const std::string& url, std::string& host, std::string& target);
20  };
21 }
22 
23 #endif
Definition: Http.h:12