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

Method session

example/websocket/server/async/websocket_server_async.cpp:52–56  ·  view source on GitHub ↗

Take ownership of the socket

Source from the content-addressed store, hash-verified

50public:
51 // Take ownership of the socket
52 explicit
53 session(tcp::socket&& socket)
54 : ws_(std::move(socket))
55 {
56 }
57
58 // Get on the correct executor
59 void

Callers

nothing calls this directly

Calls 1

moveClass · 0.85

Tested by

no test coverage detected