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

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

		AddParameter("username", (char*)username);
	}
};

#endif //_STEAM_REQUEST_RSA_KEY_H_