eidheim / Simple-Web-Server

A very simple, fast, multithreaded, platform independent HTTP and HTTPS server and client library implemented using C++11 and Boost.Asio. Created to be an easy way to make REST resources available from C++ applications.
MIT License
2.61k stars 751 forks source link

how to use server in a child thread? #185

Open sunjunlishi opened 6 years ago

sunjunlishi commented 6 years ago

how to use server in a child thread? using thread.detatch Don't block the main process

eidheim commented 6 years ago

If possible, please add a minimal source example demonstrating your issue and it will be easier to help you.