summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/api/captcha.h
blob: 0b8ba9191afd220d3670ea3e3673eadad29db844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _STEAM_REQUEST_CAPTCHA_H_
#define _STEAM_REQUEST_CAPTCHA_H_

class GetCaptchaRequest : public HttpRequest
{
public:
	GetCaptchaRequest(const char *captchaId) :
		HttpRequest(HttpGet, STEAM_WEB_URL "/public/captcha.php")
	{
		flags = NLHRF_HTTP11 | NLHRF_NODUMP;

		Uri << CHAR_PARAM("gid", captchaId);
	}
};

#endif //_STEAM_REQUEST_CAPTCHA_H_