34 lines
617 B
C++
34 lines
617 B
C++
#pragma once
|
|
#include <afxinet.h>
|
|
#include <vector>
|
|
using namespace std;
|
|
|
|
|
|
class CHttpClient
|
|
{
|
|
public:
|
|
CHttpClient();
|
|
~CHttpClient(void);
|
|
|
|
|
|
|
|
//»Øµ÷WMS
|
|
//CString WmsCallBack(CString strSender, CString strMsgType, CString strParam);
|
|
//CString FastCallBack(CString strUrl, CString strParam);
|
|
//CString AbnormalCallBack(CString strType, CString strParam);
|
|
|
|
CString GenericPost2Wms(CString strParam);
|
|
CString GenericPost2Opentcs(CString strParam);
|
|
|
|
|
|
|
|
public:
|
|
CString m_strWmsIp, m_strOpentcsIp;
|
|
CString m_strWmsUrl, m_strOpentcsUrl;
|
|
int m_nWmsPort, m_nOpentcsPort;
|
|
CInternetSession session;
|
|
|
|
|
|
};
|
|
|