HTTPS 服务器
更多...
#include <rmvl/io/netapp.hpp>
HTTPS 服务器
接受 TCP 连接后执行服务端 TLS 握手,再将安全流交给 Webapp 处理。
◆ HttpsServer()
◆ listen()
| void rm::async::HttpsServer::listen |
( |
uint16_t | port, |
|
|
std::function< void()> | callback = nullptr ) |
|
inline |
◆ running()
| bool rm::async::HttpsServer::running |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ spin()
| Task rm::async::HttpsServer::spin |
( |
| ) |
|
|
nodiscard |
◆ spinWithoutSigint()
| Task rm::async::HttpsServer::spinWithoutSigint |
( |
| ) |
|
|
nodiscard |
◆ stop()
| void rm::async::HttpsServer::stop |
( |
| ) |
|
|
inlinenoexcept |