X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fmetaproxy%2Forigin.hpp;h=955476f28bd5fef958345a498c9447423805a507;hb=cdb9d2053fa54a0a2d7da1514164de3bbe52edb3;hp=d9d625c8241301bf9f3b668820907c5add61053a;hpb=db7203a455f748966f4fa6c906bf2b0a859cf87c;p=metaproxy-moved-to-github.git diff --git a/include/metaproxy/origin.hpp b/include/metaproxy/origin.hpp index d9d625c..955476f 100644 --- a/include/metaproxy/origin.hpp +++ b/include/metaproxy/origin.hpp @@ -59,6 +59,8 @@ namespace metaproxy_1 { /// get tcpip address std::string get_address(); + + void set_custom_session(const std::string &s); private: friend std::ostream& std::operator<<(std::ostream& os, metaproxy_1::Origin& o); @@ -73,6 +75,7 @@ namespace metaproxy_1 { std::string m_listen_host; unsigned int m_listen_port; int m_max_sockets; + std::string m_custom_session; }; }