Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an HTTP client/server sample with Boost.Beast #283

Merged
merged 16 commits into from
May 10, 2023

Conversation

wravery
Copy link
Contributor

@wravery wravery commented May 9, 2023

This is not a real-world example, but this partially answers the questions in #271, and it may be a good enough starting point to continue exploring coroutine interoperability with Boost.Asio in particular.

@wravery
Copy link
Contributor Author

wravery commented May 10, 2023

Strange that it failed to build on Windows since that's what I've been developing it with locally. 🤔

@wravery
Copy link
Contributor Author

wravery commented May 10, 2023

Once I updated to Boost 1.82 locally, I started to hit the same break. It looks like an old bug that came back recently in boostorg/beast#2678.

@wravery wravery merged commit 31b3312 into microsoft:main May 10, 2023
@wravery wravery deleted the boost-beast-sample branch May 10, 2023 17:02
@nqf
Copy link

nqf commented May 18, 2023

Thank you for your example, This example is great. It taught me how to combine Beast, Will you consider generating something similar to golang gqlgen in the future(https://github.com/99designs/gqlgen/blob/master/_examples/starwars/models/model.go#LL20C27-L20C37), I believe most people just hope for a framework that can easily write business logic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants