Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/beast
/ fail
Function
fail
example/websocket/server/stackless/websocket_server_stackless.cpp:39–43 ·
view source on GitHub ↗
Report a failure
Source
from the content-addressed store, hash-verified
37
38
// Report a failure
39
void
40
fail(beast::error_code ec, char const* what)
41
{
42
std::cerr << what <<
": "
<< ec.message() <<
"\n"
;
43
}
44
45
// Echoes back all received WebSocket messages
46
class session
Callers
3
loop
Method · 0.70
listener
Method · 0.70
loop
Method · 0.70
Calls
1
message
Method · 0.80
Tested by
no test coverage detected