2019-07-27 22:44:32 +08:00
|
|
|
|
#pragma once
|
2014-11-19 00:25:21 +08:00
|
|
|
|
#include "afxwin.h"
|
|
|
|
|
|
|
|
|
|
|
2019-07-27 22:44:32 +08:00
|
|
|
|
// CHttpOption 对话框
|
2014-11-19 00:25:21 +08:00
|
|
|
|
|
|
|
|
|
class CHttpOption : public CDialog
|
|
|
|
|
{
|
|
|
|
|
DECLARE_DYNAMIC(CHttpOption)
|
|
|
|
|
|
|
|
|
|
public:
|
2019-07-27 22:44:32 +08:00
|
|
|
|
CHttpOption(CWnd* pParent = NULL); // 标准构造函数
|
2014-11-19 00:25:21 +08:00
|
|
|
|
virtual ~CHttpOption();
|
|
|
|
|
|
2019-07-27 22:44:32 +08:00
|
|
|
|
// 对话框数据
|
2014-11-19 00:25:21 +08:00
|
|
|
|
enum { IDD = IDD_DIALOG_OPTION };
|
|
|
|
|
|
|
|
|
|
protected:
|
2019-07-27 22:44:32 +08:00
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
2014-11-19 00:25:21 +08:00
|
|
|
|
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
public:
|
|
|
|
|
afx_msg void OnBnClickedCheckProto();
|
|
|
|
|
afx_msg void OnBnClickedCheckZip();
|
|
|
|
|
afx_msg void OnBnClickedCheckKeepAlive();
|
|
|
|
|
BOOL m_bHttp11;
|
|
|
|
|
BOOL m_bZip;
|
|
|
|
|
BOOL m_bKeepAlive;
|
|
|
|
|
BOOL m_bPostMethod;
|
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
|
CString m_sHttpHdrAppend;
|
|
|
|
|
CString m_sHttpBody;
|
|
|
|
|
CString m_sServerAddr;
|
|
|
|
|
CString m_sCType;
|
|
|
|
|
CString m_sAccept;
|
|
|
|
|
BOOL m_bUseAddr;
|
|
|
|
|
BOOL m_bForwardAuto;
|
|
|
|
|
UINT m_nMaxTry;
|
|
|
|
|
afx_msg void OnBnClickedPostMethod();
|
|
|
|
|
afx_msg void OnBnClickedOk();
|
|
|
|
|
};
|