Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Latest commit

 

History

History
14 lines (14 loc) · 355 Bytes

README.md

File metadata and controls

14 lines (14 loc) · 355 Bytes

coroutine-server

Boost.Beast HTTP echo server example based on C++20 stackless coroutines

$ coroutine-server <address> <port> <threads>

Build requirements

  • Boost::system
  • fmt (presented by a submodule)

Example

$ coroutine-server 127.0.0.1 8080 4 &
$ curl -X GET 127.0.0.1:8080 -d "Hello, World!"
Hello, World!