summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/http_request.h
diff options
context:
space:
mode:
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