Introducing Beast...
summary
Header-only C++11 library that implements HTTP 1.1 and WebSocket on top of Boost.Asio, exposing Boost.Asio-like synchronous and asynchronous APIs and working with plain sockets, SSL streams or user-defined stream types. Library ships a fully functional webserver and WebSocket server, supports custom streaming or file-backed HTTP bodies, and passes the Autobahn test suite while running in production on Ripple servers. Parser is header-only, modeled after nodejs, stateless zero-allocation parser, and the repo includes examples and a boost incubator submission.
AI-written summary · about
chapters (11)
- 0:00Intro
- 1:49WebSocket Scope
- 2:29WebSocket Echo Example
- 3:03Handshake and Send a Message
- 4:09Receive and print echoed message
- 5:19Asynchronous Interfaces
- 6:14HTTP Scope
- 7:42HTTP GET Example
- 9:36Receive HTTP Response
- 10:58Advanced HTTP Features
- 12:28HTTP Parser Performance parser bench parser speed test








