Bayeux Protocol, CometD, and Long Polling. Streaming API uses the Bayeux protocol and CometD for long polling. Bayeux is a protocol for transporting asynchronous messages, primarily over HTTP. … Long polling, also called Comet programming, allows emulation of an information push from a server to a client.