![]() |
RMVL
2.4.0-dev
Robotic Manipulation and Vision Library
|
URL 解析结果 更多...
#include <rmvl/io/netapp.hpp>
Public 属性 | |
| std::string | scheme |
| 协议部分,例如 http 或 https | |
| 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 解析结果
| std::string rm::URLParseInfo::hostname |
域名部分,例如 example.com
| std::string rm::URLParseInfo::path |
路径部分,例如 /path/to/resource
| uint16_t rm::URLParseInfo::port {} |
端口号,默认为 80 (HTTP) 或 443 (HTTPS)
| std::vector<std::string> rm::URLParseInfo::querys |
以 std::vector 存储的查询参数部分,例如 [key=value, key2=value2]
| std::string rm::URLParseInfo::scheme |
协议部分,例如 http 或 https