Basic HTTP and WebSocket Programming with Boost.Beast
Channel: Utah Cpp Programmers
Date: 2023-05-11

Boost.Beast is a C++ header-only library serving as a foundation for writing interoperable networking libraries by providing low-level HTTP/1, WebSocket, and networking protocol vocabulary types and algorithms using the consistent asynchronous model of Boost.Asio.

This month, Richard Thomson will give us an introduction to Beast and the facilities it provides for HTTP and WebSocket applications. We will look at an example of implementing a REST API for a simple CRUD (Create, Read, Update, Delete) style database. We will revisit the comic book database example we have used in previous REST API presentations.

Sample code for this talk:
https://github.com/LegalizeAdulthood/asio-http-websocket/tree/master

Boost.Beast docs (v1.82):
https://www.boost.org/doc/libs/1_82_0/libs/beast/doc/html/index.html

Meetup: https://www.meetup.com/utah-cpp-programmers
Past topics: https://utahcpp.wordpress.com/past-meeting-topics/
Future topics: https://utahcpp.wordpress.com/future-meeting-topics/