MCPcopy Create free account
hub / github.com/boostorg/beast / ssl_session

Method ssl_session

example/http/server/flex/http_server_flex.cpp:399–409  ·  view source on GitHub ↗

Create the session

Source from the content-addressed store, hash-verified

397public:
398 // Create the session
399 ssl_session(
400 tcp::socket&& socket,
401 ssl::context& ctx,
402 beast::flat_buffer buffer,
403 std::shared_ptr<std::string const> const& doc_root)
404 : session<ssl_session>(
405 std::move(buffer),
406 doc_root)
407 , stream_(std::move(socket), ctx)
408 {
409 }
410
411 // Called by the base class
412 ssl::stream<beast::tcp_stream>&

Callers

nothing calls this directly

Calls 1

moveClass · 0.85

Tested by

no test coverage detected