VLink 2.0.0
A high-performance communication middleware
载入中...
搜索中...
未找到
vlink::Protocol结构体 参考final

Parsed URL components used to select and configure a transport Conf. 更多...

#include <url.h>

vlink::Protocol 的协作图:

Public 属性

std::string str
 Canonical URL string (post-remap).
TransportType transport
 Resolved transport backend.
std::string host
 Hostname or IP address component.
std::string path
 Topic path component.
std::map< std::string, std::string > dictionary
 Parsed query key-value pairs.
std::string fragment
 Fragment identifier (after #).

友元

struct Url

详细描述

Parsed URL components used to select and configure a transport Conf.

Produced by Protocol(const std::string& address) which runs the URL through UrlParser, applies any VLINK_URL_REMAP remapping, and resolves the TransportType from the transport string. Only Url may construct a Protocol (private constructor, friend Url).

注解
The str field always holds the canonical URL string after any remap has been applied, not the raw input.

◆ Url

friend struct Url
friend

类成员变量说明

◆ dictionary

std::map<std::string, std::string> vlink::Protocol::dictionary

Parsed query key-value pairs.

◆ fragment

std::string vlink::Protocol::fragment

Fragment identifier (after #).

◆ host

std::string vlink::Protocol::host

Hostname or IP address component.

◆ path

std::string vlink::Protocol::path

Topic path component.

◆ str

std::string vlink::Protocol::str

Canonical URL string (post-remap).

◆ transport

TransportType vlink::Protocol::transport

Resolved transport backend.


该结构体的文档由以下文件生成:
  • include/vlink/impl/url.h