README

Examples for EventSource::Server

This directory contains some short examples of the ways that this module can be used.

There is also a small node.js client that can be used to exercise the examples from the command line.

Most of the examples require HTTP::Server::Tiny which can be installed with

zef install HTTP::Server::Tiny

tick-server

This sends a "tick" event wuth the Date time every second.

cro-tick-server

This implements the tick-server as above, but using Cro instead of HTTP::Server::Tiny which can be installed with:

zef install --/test cro

amqp-bridge

This demonstrates bridging an AMQP message queue to an EventSource, you will need an AMQP broker such as RabbitMQ and Net::AMQP which can be installed with

zef install Net::AMQP

cro-amqp-bridge

This is similar to the above but using Cro, so requires both cro and Net::AMQP.

cro-json-server

This is largely to test interoperability with multi-line data.

EventSource::Server v0.0.11

A simple handler to provide Server Sent Events from a Raku application

Authors

  • Jonathan Stowe

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • EventSource::Server

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.