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

Method session

example/http/server/stackless/http_server_stackless.cpp:226–233  ·  view source on GitHub ↗

Take ownership of the socket

Source from the content-addressed store, hash-verified

224public:
225 // Take ownership of the socket
226 explicit
227 session(
228 tcp::socket&& socket,
229 std::shared_ptr<std::string const> const& doc_root)
230 : stream_(std::move(socket))
231 , doc_root_(doc_root)
232 {
233 }
234
235 // Start the asynchronous operation
236 void

Callers

nothing calls this directly

Calls 1

moveClass · 0.85

Tested by

no test coverage detected