Corvusoft / restbed

Corvusoft's Restbed framework brings asynchronous RESTful functionality to C++14 applications.
http://www.corvusoft.co.uk
Other
1.93k stars 377 forks source link

Is there a way to start the server with a non-blocking call and continue working on the same thread? #523

Closed lrodriguez14 closed 2 years ago

lrodriguez14 commented 2 years ago

Hello,

Is there a way to start the http server with a non-blocking call? When the .start() function is called the code stops there, but I need to call more functions on the same thread after the server is up for my implementation.

Any help? @ben-crowhurst

Regards, -Leonardo R.

ben-crowhurst commented 2 years ago

Please review the documentation and examples with regard to the Service::ready_handler.