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

Method session

example/http/server/async-ssl/http_server_async_ssl.cpp:245–253  ·  view source on GitHub ↗

Take ownership of the socket

Source from the content-addressed store, hash-verified

243public:
244 // Take ownership of the socket
245 explicit
246 session(
247 tcp::socket&& socket,
248 ssl::context& ctx,
249 std::shared_ptr<std::string const> const& doc_root)
250 : stream_(std::move(socket), ctx)
251 , doc_root_(doc_root)
252 {
253 }
254
255 // Start the asynchronous operation
256 void

Callers

nothing calls this directly

Calls 1

moveClass · 0.85

Tested by

no test coverage detected