From 2d35726edb32428836b8c51c006e79b0567caf65 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Sun, 31 Mar 2013 15:09:17 -0500 Subject: [PATCH] adds getter for connection URI --- websocketpp/connection.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/websocketpp/connection.hpp b/websocketpp/connection.hpp index 33d072836b..1085c04f8d 100644 --- a/websocketpp/connection.hpp +++ b/websocketpp/connection.hpp @@ -502,6 +502,15 @@ public: */ uint16_t get_port() const; + /// Gets the connection URI + /** + * This should really only be called by internal library methods unless you + * really know what you are doing. + * + * @return A pointer to the connection's URI + */ + uri_ptr get_uri() const; + /// Sets the connection URI /** * This should really only be called by internal library methods unless you