Simple-Web-Server
Simple-Web-Server copied to clipboard
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 fro...
The library can use standalone ASIO and Boost ASIO. Because ASIO has a [new incarnation in the C++ standard itself (The Networking TS)](http://cplusplus.github.io/networking-ts/draft.pdf) AND [a compatibility layer](https://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/net_ts.html), the Networking TS...
It would be very useful if the HttpClient::request() function would return an awaitable type for use in coroutines. ([See the "Naked Coroutines" talk by Gor Nishanov.](https://www.youtube.com/watch?v=UL3TtTgt3oU))
Hi, Is there a deterministic way to know from the parent thread if the server has started successfully? In the example application it just calls the start method and waits...
I find a problem when I use server_http.hpp(old version) in http.  "response" is a shared_ptr type. In this way, *response can send data to the client. However,  
Hi Will it be possible to have a base class without template for being able to create a polymorphic instance ? For now it is impossible to do something like...
HI: I use http_client in multiple threads. and the threads managed by boost. can I read response with the thread which send it's request? need I use strand.wrap the callback...
could you provide a thread safe example of the FileServer-Class? :)
https://github.com/eidheim/Simple-Web-Server/blob/1056bd2e70c6abdd6a334d57247f1ea18bab45ef/client_http.hpp#L19 I changed this line to: ``` using string_view = std::string_view; ``` and life became wonderful. My application keeps data in `char*` format (with a known `size_t`). I was pushing...
I came across this [article](https://bradleyf.id.au/nix/shaving-your-rtt-wth-tfo/), so I'm now curious about TCP Fastopen support when 'Simple Web Server' (SWS) is used on Linux: 1. Is TCP Fastopen currently supported by SWS?...