MCPcopy Create free account
hub / github.com/boostorg/asio / chat_session

Method chat_session

example/cpp20/coroutines/chat_server.cpp:89–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87{
88public:
89 chat_session(tcp::socket socket, chat_room& room)
90 : socket_(std::move(socket)),
91 timer_(socket_.get_executor()),
92 room_(room)
93 {
94 timer_.expires_at(std::chrono::steady_clock::time_point::max());
95 }
96
97 void start()
98 {

Callers

nothing calls this directly

Calls 2

get_executorMethod · 0.45
expires_atMethod · 0.45

Tested by

no test coverage detected