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

Function fail

example/advanced/server/advanced_server.cpp:212–216  ·  view source on GitHub ↗

Report a failure

Source from the content-addressed store, hash-verified

210
211// Report a failure
212void
213fail(beast::error_code ec, char const* what)
214{
215 std::cerr << what << ": " << ec.message() << "\n";
216}
217
218// Echoes back all received WebSocket messages
219class websocket_session : public std::enable_shared_from_this<websocket_session>

Callers 7

on_acceptMethod · 0.70
on_readMethod · 0.70
on_writeMethod · 0.70
on_readMethod · 0.70
on_writeMethod · 0.70
listenerMethod · 0.70
on_acceptMethod · 0.70

Calls 1

messageMethod · 0.80

Tested by

no test coverage detected