Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

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

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

zef install --/test cro

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

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

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