STTNet
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 宏定义 
Public 属性 | 所有成员列表
stt::network::HttpRequestInformation结构体 参考

保存HTTP/HTTPS请求信息的结构体 更多...

#include <sttnet.h>

Public 属性

int fd
 底层的socket套接字 更多...
 
std::string type
 请求类型 更多...
 
std::string locPara
 url中的路径和参数 更多...
 
std::string loc
 url中的路径 更多...
 
std::string para
 url中的参数 更多...
 
std::string header
 请求头 更多...
 
std::string body
 请求体 更多...
 
std::string body_chunked
 请求体(chunked) 更多...
 
std::unordered_map
< std::string, std::any > 
ctx
 所需的数据仓库 更多...
 

详细描述

保存HTTP/HTTPS请求信息的结构体

类成员变量说明

std::string stt::network::HttpRequestInformation::body

请求体

std::string stt::network::HttpRequestInformation::body_chunked

请求体(chunked)

std::unordered_map<std::string,std::any> stt::network::HttpRequestInformation::ctx

所需的数据仓库

int stt::network::HttpRequestInformation::fd

底层的socket套接字

std::string stt::network::HttpRequestInformation::header

请求头

std::string stt::network::HttpRequestInformation::loc

url中的路径

std::string stt::network::HttpRequestInformation::locPara

url中的路径和参数

std::string stt::network::HttpRequestInformation::para

url中的参数

std::string stt::network::HttpRequestInformation::type

请求类型


该结构体的文档由以下文件生成: