This document provides an overview of the Bayeux protocol for implementing real-time messaging between clients and servers. It describes how clients can connect, subscribe to channels, publish messages, and handle incoming asynchronous messages. Server-side implementation details are also covered, including delivering messages to subscribed clients and handling authentication. Code samples are provided for client-side usage with jQuery Comet and a Sinatra-based server implementation in Ruby.