ckhttpprogress.h
来自「DES加密解密算法,西望大家共享.参考学习」· C头文件 代码 · 共 38 行
H
38 行
// 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 + =
减小字号Ctrl + -
显示快捷键?