microserve.core module

Files

file core.cppm

Classes

struct microserve::ServerImpl
Abstract server backend.

Typedefs

using tcp = net::ip::tcp
using udp = net::ip::udp
using error_code = boost::system::error_code
using Request = http::request<http::string_body>
using Response = http::response<http::string_body>
using Handler = std::function<void(const Request&, Response&)>
using steady_timer = net::steady_timer
using flat_buffer = beast::flat_buffer
using ssl_stream_tcp = net::ssl::stream<tcp::socket>

Functions

auto is_ssl_stream_truncated(const error_code& ec) -> bool