diff options
Diffstat (limited to 'PlexServer.h')
-rw-r--r-- | PlexServer.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/PlexServer.h b/PlexServer.h index 0363343..917f035 100644 --- a/PlexServer.h +++ b/PlexServer.h @@ -66,14 +66,14 @@ class PlexServer m_authToken = token; } - std::istream& MakeRequest(Poco::Net::HTTPResponse& response, bool& ok, std::string path, const std::map<std::string, std::string>& queryParameters = std::map<std::string, std::string>()); + std::shared_ptr<Poco::Net::HTTPClientSession> MakeRequest(bool& ok, std::string path, const std::map<std::string, std::string>& queryParameters = std::map<std::string, std::string>()); std::string GetHost(); int GetPort(); std::string GetUri(); - Poco::Net::HTTPClientSession* GetClientSession(); + std::shared_ptr<Poco::Net::HTTPClientSession> GetClientSession(); void DiscoverSettings(); bool Offline; @@ -99,8 +99,6 @@ private: std::string m_authToken; long m_nUpdated; std::string m_sVersion; - Poco::Net::HTTPClientSession* m_httpSession; - }; } |