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

Method session

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

Take ownership of the buffer

Source from the content-addressed store, hash-verified

254public:
255 // Take ownership of the buffer
256 session(
257 beast::flat_buffer buffer,
258 std::shared_ptr<std::string const> const& doc_root)
259 : doc_root_(doc_root)
260 , buffer_(std::move(buffer))
261 {
262 }
263
264 void
265 do_read()

Callers

nothing calls this directly

Calls 1

moveClass · 0.85

Tested by

no test coverage detected