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.