dl
dl::Http类 参考

http协议 更多...

#include <dl_http.h>

struct  RecvData
 
class  Request
 

Public 成员函数

 Http ()
 
 ~Http ()
 
bool SendRequest (Request &request)
 
Buffer ExDownload (std::string_view url)
 下载文件
 
void SetCACertPath (std::string_view str)
 
void SetShowResultLog (bool show)
 

详细描述

http协议

在文件 dl_http.h25 行定义.

构造及析构函数说明

◆ Http()

dl::Http::Http ( )

◆ ~Http()

dl::Http::~Http ( )

成员函数说明

◆ ExDownload()

Buffer dl::Http::ExDownload ( std::string_view url)
inline

下载文件

在文件 dl_http.h98 行定义.

◆ SendRequest()

bool dl::Http::SendRequest ( Request & request)

◆ SetCACertPath()

void dl::Http::SetCACertPath ( std::string_view str)
inline

在文件 dl_http.h109 行定义.

◆ SetShowResultLog()

void dl::Http::SetShowResultLog ( bool show)
inline

在文件 dl_http.h113 行定义.


该类的文档由以下文件生成: