summaryrefslogtreecommitdiff
path: root/protocols/CurrencyRates/src/HTTPSession.h
blob: 1b0baceb07f8a67b78e41dc7e572e029606be6c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __8C9706FF_6B05_4d0d_85B8_5724E5DC0BA4_HTTPSession_h__
#define __8C9706FF_6B05_4d0d_85B8_5724E5DC0BA4_HTTPSession_h__

class CHTTPSession
{
	static HNETLIBUSER g_hNetLib;
	CMStringA m_szUrl;
	mir_cs m_mx;

public:
	CHTTPSession() {}
	~CHTTPSession() {}

	static bool Init();

	bool OpenURL(const CMStringW &rsURL);
	bool ReadResponce(CMStringW &rsResponce);
};

#endif //__8C9706FF_6B05_4d0d_85B8_5724E5DC0BA4_HTTPSession_h__