From 4c04e27349415a4e9b21f74a00cfcfddba609934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 20 Dec 2015 10:58:33 +0000 Subject: Steam: Fix getting SessionID to be able to use web api again But maybe it could be done simpler - not with this one new request. git-svn-id: http://svn.miranda-ng.org/main/trunk@15910 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/api/session.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'protocols/Steam/src/api') diff --git a/protocols/Steam/src/api/session.h b/protocols/Steam/src/api/session.h index caf965803e..96fc560816 100644 --- a/protocols/Steam/src/api/session.h +++ b/protocols/Steam/src/api/session.h @@ -21,4 +21,14 @@ public: } }; +class GetSessionRequest2 : public HttpRequest +{ +public: + GetSessionRequest2() : + HttpRequest(REQUEST_GET, STEAM_WEB_URL) + { + flags = NLHRF_HTTP11 | NLHRF_SSL | NLHRF_NODUMP; + } +}; + #endif //_STEAM_REQUEST_SESSION_H_ -- cgit v1.2.3