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

Function fail

example/websocket/server/async-ssl/websocket_server_async_ssl.cpp:42–46  ·  view source on GitHub ↗

Report a failure

Source from the content-addressed store, hash-verified

40
41// Report a failure
42void
43fail(beast::error_code ec, char const* what)
44{
45 std::cerr << what << ": " << ec.message() << "\n";
46}
47
48// Echoes back all received WebSocket messages
49class session : public std::enable_shared_from_this<session>

Callers 6

on_handshakeMethod · 0.70
on_acceptMethod · 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