summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/api/captcha.h
blob: a4bacb59f7fc0449b5848284aab38ae0fab5c633 (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(REQUEST_GET, STEAM_WEB_URL "/public/captcha.php")
	{
		flags = NLHRF_HTTP11 | NLHRF_NODUMP;

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

#endif //_STEAM_REQUEST_CAPTCHA_H_