25#ifndef ROUTING_INITIAL_CONNECTION_ATTRIBUTES_INCLUDED
26#define ROUTING_INITIAL_CONNECTION_ATTRIBUTES_INCLUDED
41inline std::vector<std::pair<std::string, std::string>>
49#ifdef NET_TS_HAS_UNIX_SOCKET
55inline std::vector<std::pair<std::string, std::string>>
58 {
"_client_socket", ep.
path()},
std::string path() const
get path.
Definition: local.h:101
std::basic_string< char, std::char_traits< char >, Allocator > to_string(const Allocator &a=Allocator()) const
convert an address into a string.
Definition: internet.h:361
Definition: internet.h:677
constexpr ip::address address() const noexcept
get address of the endpoint.
Definition: internet.h:741
constexpr port_type port() const noexcept
get port of the endpoint.
Definition: internet.h:755
std::vector< std::pair< std::string, std::string > > initial_connection_attributes(const net::ip::tcp::endpoint &ep)
TCP/IP socket related connection attributes.
Definition: initial_connection_attributes.h:42
static std::string to_string(const LEX_STRING &str)
Definition: lex_string.h:49