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

struct GetCaptchaRequest : public HttpRequest
{
	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_