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

Method do_await_stop

example/cpp11/http/server3/server.cpp:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void server::do_await_stop()
88{
89 signals_.async_wait(
90 [this](boost::system::error_code /*ec*/, int /*signo*/)
91 {
92 io_context_.stop();
93 });
94}
95
96} // namespace server3
97} // namespace http

Callers

nothing calls this directly

Calls 2

async_waitMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected