summaryrefslogtreecommitdiff
path: root/protocols/CurrencyRates/src/HTTPSession.h
blob: 9928c58304d105833e01bc9a6cb9ed5640b75f8b (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 tstring &rsURL);
	bool ReadResponce(tstring &rsResponce);
};

#endif //__8C9706FF_6B05_4d0d_85B8_5724E5DC0BA4_HTTPSession_h__