summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/http_request.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-04-10 08:03:40 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-04-10 08:03:40 +0000
commita7e15910e804e742777b7bb54c83c15a22f342fc (patch)
treecc96a0fdd893a7d12e7015c4fbde25a4799cc1ac /protocols/Steam/src/http_request.h
parent69a49660c02bfdbc306e1b22085f8457d680a36a (diff)
Steam:
- own profile updating - avatar support git-svn-id: http://svn.miranda-ng.org/main/trunk@8911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/http_request.h')
-rw-r--r--protocols/Steam/src/http_request.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/protocols/Steam/src/http_request.h b/protocols/Steam/src/http_request.h
index 9425e8223c..8ba2ebffa1 100644
--- a/protocols/Steam/src/http_request.h
+++ b/protocols/Steam/src/http_request.h
@@ -29,7 +29,7 @@ public:
dataLength = 0;
headersCount = 0;
szResultDescr = NULL;
- flags = NLHRF_HTTP11 | NLHRF_SSL;
+ flags = NLHRF_HTTP11;
requestType = request;
m_hNetlibUser = hNetlibUser;
@@ -136,4 +136,11 @@ public:
HttpPostRequest(HANDLE hNetlibUser, LPCSTR url) : HttpRequest(hNetlibUser, REQUEST_POST, url) { }
};*/
+class SecureHttpRequest : public HttpRequest
+{
+public:
+ SecureHttpRequest(HANDLE hNetlibUser, int request, LPCSTR url)
+ : HttpRequest(hNetlibUser, request, url) { flags = NLHRF_HTTP11 | NLHRF_SSL; }
+};
+
#endif //_HTTP_REQUEST_H_ \ No newline at end of file