Creating a Sender/Receiver HTTP Server

By Dietmar Kühl

The sender/receiver framework for asynchronous operations in C++ is well on its way towards standardization. Previously, the theoretical background and implementation of the framework was shown, but there wasn’t much detail on how an application using sender/receiver would look.

This presentation will demonstrate how to create a simple HTTP server using the sender/receiver framework with matching networking senders, together with a coroutine task and an async scope. The goal is to demonstrate that the use of an asynchronous framework doesn’t necessarily lead to excessive complexity when using C++'s facilities effectively. The resulting server could be embedded into any application, e.g., to inspect its state or change configurations.





Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.