26#ifndef ROUTING_INITIAL_CONNECTION_ATTRIBUTES_INCLUDED
27#define ROUTING_INITIAL_CONNECTION_ATTRIBUTES_INCLUDED
42inline std::vector<std::pair<std::string, std::string>>
50#ifdef NET_TS_HAS_UNIX_SOCKET
56inline std::vector<std::pair<std::string, std::string>>
59 {
"_client_socket", ep.
path()},
std::string path() const
get path.
Definition: local.h:102
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:362
Definition: internet.h:678
constexpr ip::address address() const noexcept
get address of the endpoint.
Definition: internet.h:742
constexpr port_type port() const noexcept
get port of the endpoint.
Definition: internet.h:756
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:43
static std::string to_string(const LEX_STRING &str)
Definition: lex_string.h:50