Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.468 kb
<h1> - Realtime pubsub with Faye</h1>
<div id="messages"></div>
<script src="/jquery-1.3.2.min.js"></script>
<script src="/faye.js"></script>
<script type="text/javascript">
var client = new Faye.Client('/faye', {
timeout: 120
client.subscribe('/channel', function(message) {
$("#messages").append("<p>" + message.text + "</p>");
Jump to Line
Something went wrong with that request. Please try again.