RMVL  2.4.0-dev
Robotic Manipulation and Vision Library
载入中...
搜索中...
未找到
rm::URLParseInfo结构体 参考

URL 解析结果 更多...

#include <rmvl/io/netapp.hpp>

rm::URLParseInfo 的协作图:

Public 属性

std::string scheme
 协议部分,例如 httphttps
std::string hostname
 域名部分,例如 example.com
uint16_t port {}
 端口号,默认为 80 (HTTP) 或 443 (HTTPS)
std::string path
 路径部分,例如 /path/to/resource
std::vector< std::string > querys
 std::vector 存储的查询参数部分,例如 [key=value, key2=value2]

详细描述

URL 解析结果

类成员变量说明

◆ hostname

std::string rm::URLParseInfo::hostname

域名部分,例如 example.com

◆ path

std::string rm::URLParseInfo::path

路径部分,例如 /path/to/resource

◆ port

uint16_t rm::URLParseInfo::port {}

端口号,默认为 80 (HTTP) 或 443 (HTTPS)

◆ querys

std::vector<std::string> rm::URLParseInfo::querys

std::vector 存储的查询参数部分,例如 [key=value, key2=value2]

◆ scheme

std::string rm::URLParseInfo::scheme

协议部分,例如 httphttps


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