diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-05-26 19:15:20 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-05-26 19:15:20 +0000 |
commit | ab75f8e4a3968c956425844415237a4fa6fcee63 (patch) | |
tree | df2c209dd0197dc3085546606b0581d63f9114ad /protocols/Steam/src/api/captcha.h | |
parent | 4e9e885747b2037c81ce809f7f6505f8bc8b0e2f (diff) |
Steam: merge new api
git-svn-id: http://svn.miranda-ng.org/main/trunk@13850 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/api/captcha.h')
-rw-r--r-- | protocols/Steam/src/api/captcha.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/protocols/Steam/src/api/captcha.h b/protocols/Steam/src/api/captcha.h new file mode 100644 index 0000000000..b61dca89d6 --- /dev/null +++ b/protocols/Steam/src/api/captcha.h @@ -0,0 +1,14 @@ +#ifndef _STEAM_REQUEST_CAPTCHA_H_
+#define _STEAM_REQUEST_CAPTCHA_H_
+
+class GetCaptchaRequest : public HttpRequest
+{
+public:
+ GetCaptchaRequest(const char *captchaId) :
+ HttpRequest(REQUEST_GET, FORMAT, STEAM_WEB_URL "/public/captcha.php?gid=%s", captchaId)
+ {
+ flags = NLHRF_HTTP11 | NLHRF_NODUMP;
+ }
+};
+
+#endif //_STEAM_REQUEST_CAPTCHA_H_
|