Refactor source (#1171)

For #51
This commit is contained in:
Sergey Kuznetsov
2024-02-20 14:07:27 +00:00
committed by GitHub
parent 26d663c0be
commit 62f55a7dce
55 changed files with 3572 additions and 1957 deletions

View File

@@ -51,9 +51,10 @@ public:
* @note This method schedules to process only one request
*
* @param handler RequestHandler to use for incoming request
* @param allowToFail if true, the server will not throw an exception if the request fails
*/
void
handleRequest(RequestHandler handler);
handleRequest(RequestHandler handler, bool allowToFail = false);
private:
boost::asio::ip::tcp::acceptor acceptor_;