📄 httpdownloadsocket.h
字号:
#pragma once
#include "downloadsocket.h"
#include "struct.h"
#include "stateCode.h"
class CHttpDownloadSocket : public CDownloadSocket
{
public:
CHttpDownloadSocket(void);
virtual ~CHttpDownloadSocket(void);
void Login();
void SetOffset(int offset) ;
virtual int SendRequest(LPTSTR buf,UINT begin = 0,UINT end = 0);
virtual int RecvData(LPTSTR buf);//得到文件数据,放在buf里
virtual void CloseSocket();
virtual UINT GetContentLen(LPCTSTR buf);
UINT GetHeaderLen(LPCTSTR buf);
virtual void IgnoreIpHeader(LPTSTR buf);
virtual RESPONSECODE GetResponse(LPCTSTR buf);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -