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

Method on_shutdown

example/http/server/flex/http_server_flex.cpp:468–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466 }
467
468 void
469 on_shutdown(beast::error_code ec)
470 {
471 if(ec)
472 return fail(ec, "shutdown");
473
474 // At this point the connection is closed gracefully
475 }
476};
477
478//------------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

failFunction · 0.70

Tested by

no test coverage detected