diff --git a/server_http.hpp b/server_http.hpp index baace86..50f7a86 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -297,6 +297,10 @@ namespace SimpleWeb { CaseInsensitiveMultimap parse_query_string() const noexcept { return SimpleWeb::QueryString::parse(query_string); } + + std::shared_ptr connection_shared() const noexcept { + return connection.lock(); + } }; protected: