Simple-Web-Server icon indicating copy to clipboard operation
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...

Results 54 Simple-Web-Server issues
Sort by recently updated
recently updated
newest added

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. ![qq 20180418201558](https://user-images.githubusercontent.com/22476651/38931524-0277b97e-4303-11e8-9c8e-ecd4d276770e.png) "response" is a shared_ptr type. In this way, *response can send data to the client. However, ![qq...

![image](https://user-images.githubusercontent.com/31401782/37883051-d35db632-30da-11e8-94c8-0072ecbcfa4b.png) ![image](https://user-images.githubusercontent.com/31401782/37883099-094f7816-30db-11e8-8348-f6e7367e86b3.png)

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...

discussion

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?...