mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 18:22:59 +02:00
added HTTPServerRequest::secure() method
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "Poco/Net/HTTPFixedLengthStream.h"
|
||||
#include "Poco/Net/HTTPChunkedStream.h"
|
||||
#include "Poco/Net/HTTPServerParams.h"
|
||||
#include "Poco/Net/StreamSocket.h"
|
||||
#include "Poco/String.h"
|
||||
|
||||
|
||||
@@ -71,6 +72,12 @@ HTTPServerRequestImpl::~HTTPServerRequestImpl()
|
||||
}
|
||||
|
||||
|
||||
bool HTTPServerRequestImpl::secure() const
|
||||
{
|
||||
return _session.socket().secure();
|
||||
}
|
||||
|
||||
|
||||
StreamSocket& HTTPServerRequestImpl::socket()
|
||||
{
|
||||
return _session.socket();
|
||||
|
||||
Reference in New Issue
Block a user