Crow
Crow copied to clipboard
A Fast and Easy to use microframework for the web.
#506 To be able to keepalive to WS connections, this PR adds a new callback to allow do something every x seconds while not receiving messages. ``` CROW_WEBSOCKET_ROUTE(app, "/ws") .onaccept([&](const...
Hi When the client shutdown gently, like powers off, a normal reboot or even unplugging the network, works well, but in case of client disconnect suddenly like halt force, reboot...
Under ActionType::OpenBlock: ` case json::type::Number: if(ctx.num.ui == 0) current = action.pos; else stack.push_back(&ctx); break;`
Roadmap
Crow should have a roadmap of features. Any Ideas about that are welcome. I don't have much information or opinions on this at the moment.
Since #327 was merged, adding a middleware for HTTP authentication should be possible and would be a better solution than the [current guide](https://crowcpp.org/guides/auth/).
For reasons I tried to compile a simple program with clang++ (13.0.1) and libc++ (13.0.1). I got a monster error message hinting at `wvalue& operator=(object const& value)` and `wvalue& operator=(std::initializer_list...
Consider the code below: ```cpp #include "crow.h" #include #include #include using string = std::string; using rvalue = crow::json::rvalue; using wvalue = crow::json::wvalue; int main(){ for (int i = 0; i...
I'm using **crow** for a lightweight webservices server and I have to implement a [CZML](https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/CZML-Structure) one, which requires **event-stream**. Is it already supported in any way?
Hi guys, What's the story with 3a485078b85b61f1f49fb4466d5a7d350e155fc6? Is the Boost version of ASIO no longer going to be supported? It would be preferable in my view, given that Boost is...