MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / close

Method close

Libraries/Http/HttpAsyncServer.cpp:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57Result HttpAsyncServer::close()
58{
59 SC_TRY_MSG(state == State::Stopping, "HttpAsyncServer::close requires stop before close");
60 SC_TRY(waitForStopToFinish());
61 SC_TRY(connections.close());
62 return Result(true);
63}
64
65Result HttpAsyncServer::stop()
66{

Callers 1

deactivateConnectionMethod · 0.45

Calls 1

ResultClass · 0.50

Tested by

no test coverage detected