Add connection_shared() public accessor for SSL peer cert resolution

This commit is contained in:
Joey Yakimowich-Payne 2026-02-11 14:38:32 -07:00
commit 99c1f621eb

View file

@ -297,6 +297,10 @@ namespace SimpleWeb {
CaseInsensitiveMultimap parse_query_string() const noexcept {
return SimpleWeb::QueryString::parse(query_string);
}
std::shared_ptr<Connection> connection_shared() const noexcept {
return connection.lock();
}
};
protected: