Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/beast
/ fail
Function
fail
example/http/server/sync/http_server_sync.cpp:204–208 ·
view source on GitHub ↗
Report a failure
Source
from the content-addressed store, hash-verified
202
203
// Report a failure
204
void
205
fail(beast::error_code ec, char const* what)
206
{
207
std::cerr << what <<
": "
<< ec.message() <<
"\n"
;
208
}
209
210
// Handles an HTTP server connection
211
void
Callers
1
do_session
Function · 0.70
Calls
1
message
Method · 0.80
Tested by
no test coverage detected