Add connection_shared() public accessor for SSL peer cert resolution
This commit is contained in:
parent
546895a93a
commit
99c1f621eb
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue