summaryrefslogtreecommitdiffstats
path: root/src/http/HTTPClientReceiver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/HTTPClientReceiver.hpp')
-rw-r--r--src/http/HTTPClientReceiver.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/http/HTTPClientReceiver.hpp b/src/http/HTTPClientReceiver.hpp
index d7165c81..39407eba 100644
--- a/src/http/HTTPClientReceiver.hpp
+++ b/src/http/HTTPClientReceiver.hpp
@@ -45,17 +45,17 @@ public:
~HTTPClientReceiver();
- static void send(SoupMessage* msg);
- static void close_session();
+ void send(SoupMessage* msg);
+ void close_session();
std::string uri() const { return _url; }
void start(bool dump);
void stop();
-private:
static void message_callback(SoupSession* session, SoupMessage* msg, void* ptr);
+private:
void update(const std::string& str);
class Listener : public Raul::Thread {
@@ -76,6 +76,7 @@ private:
SharedPtr<ClientInterface> _target;
Shared::World* _world;
const std::string _url;
+ SoupSession* _client_session;
bool _quit_flag;
};