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

Method plain_session

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

Create the session

Source from the content-addressed store, hash-verified

345public:
346 // Create the session
347 plain_session(
348 tcp::socket&& socket,
349 beast::flat_buffer buffer,
350 std::shared_ptr<std::string const> const& doc_root)
351 : session<plain_session>(
352 std::move(buffer),
353 doc_root)
354 , stream_(std::move(socket))
355 {
356 }
357
358 // Called by the base class
359 beast::tcp_stream&

Callers

nothing calls this directly

Calls 1

moveClass · 0.85

Tested by

no test coverage detected