uNetworking/uWebSockets ? reverse-engineered prompt

Reverse engineered prompt

Build me a fast C++ web server library that can handle both normal HTTP routes and WebSocket connections, with an easy way to define paths like /hello/:name and simple pub and sub messaging for real time apps. I want it to feel lightweight but serious, so it should support secure TLS connections, be standards compliant, and be able to run well under heavy traffic. Include a few clear examples that show how to start a server, respond to requests, stream data, and echo WebSocket messages back to clients. It would also be great if the server can work on different platforms and use multiple CPU cores efficiently. If you need to, look up current docs online while building it, and make sure the code is clean, tested, and easy to extend for bigger projects.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab