Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
nvhttp::SunshineHTTPSServer Class Reference
Inheritance diagram for nvhttp::SunshineHTTPSServer:
[legend]
Collaboration diagram for nvhttp::SunshineHTTPSServer:
[legend]

Public Member Functions

 SunshineHTTPSServer (const std::string &certification_file, const std::string &private_key_file)

Public Attributes

std::function< bool(std::shared_ptr< Request >, SSL *)> verify
std::function< void(std::shared_ptr< Response >, std::shared_ptr< Request >)> on_verify_failed

Protected Member Functions

void after_bind () override
void accept () override

Protected Attributes

boost::asio::ssl::context context

Detailed Description

Definition at line 142 of file nvhttp.cpp.

Constructor & Destructor Documentation

◆ SunshineHTTPSServer()

nvhttp::SunshineHTTPSServer::SunshineHTTPSServer ( const std::string & certification_file,
const std::string & private_key_file )
inline

Definition at line 144 of file nvhttp.cpp.

Member Function Documentation

◆ accept()

void nvhttp::SunshineHTTPSServer::accept ( )
inlineoverrideprotected

Definition at line 171 of file nvhttp.cpp.

◆ after_bind()

void nvhttp::SunshineHTTPSServer::after_bind ( )
inlineoverrideprotected

Definition at line 160 of file nvhttp.cpp.

Member Data Documentation

◆ context

boost::asio::ssl::context nvhttp::SunshineHTTPSServer::context
protected

Definition at line 158 of file nvhttp.cpp.

◆ on_verify_failed

std::function<void(std::shared_ptr<Response>, std::shared_ptr<Request>)> nvhttp::SunshineHTTPSServer::on_verify_failed

Definition at line 155 of file nvhttp.cpp.

◆ verify

std::function<bool(std::shared_ptr<Request>, SSL*)> nvhttp::SunshineHTTPSServer::verify

Definition at line 154 of file nvhttp.cpp.


The documentation for this class was generated from the following file: