| 55 | } |
| 56 | |
| 57 | Result 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 | |
| 65 | Result HttpAsyncServer::stop() |
| 66 | { |
no test coverage detected