📄 ckhttpprogress.h
字号:
// CkHttpProgress.h: interface for the CkHttpProgress class.
//
//////////////////////////////////////////////////////////////////////
#ifndef _CKHTTPPROGRESS_H
#define _CKHTTPPROGRESS_H
#pragma once
class CkHttpProgress
{
public:
CkHttpProgress() { }
virtual ~CkHttpProgress() { }
// Called periodically to check to see if the method call should be aborted.
virtual void AbortCheck(bool *abort) { }
virtual void PercentDone(int pctDone, bool *abort) { }
virtual void HttpRedirect(const char *originalUrl, const char *redirectUrl, bool *abort) { }
// Called just before a chunked response is about to be received.
// With chunked responses, it is not possible to get PercentDone callbacks because
// the entire size of the HTTP response is not known as it is being received.
virtual void HttpChunked() { }
virtual void HttpBeginReceive(void) { }
virtual void HttpEndReceive(bool success) { }
virtual void HttpBeginSend(void) { }
virtual void HttpEndSend(bool success) { }
virtual void ReceiveRate(unsigned long byteCount, unsigned long bytesPerSec) { }
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -