summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/api/rsa_key.h
blob: 48c76e3e6d3d3229e969bf38b2287cf0329d0d67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _STEAM_REQUEST_RSA_KEY_H_
#define _STEAM_REQUEST_RSA_KEY_H_

class GetRsaKeyRequest : public HttpRequest
{
public:
	GetRsaKeyRequest(const char *username) :
		HttpRequest(REQUEST_POST, STEAM_WEB_URL "/mobilelogin/getrsakey/")
	{
		flags = NLHRF_HTTP11 | NLHRF_SSL | NLHRF_NODUMP;

		this
			<< CHAR_PARAM("username", username)
			<< INT64_PARAM("donotcache", now());
	}
};

#endif //_STEAM_REQUEST_RSA_KEY_H_