0.0.4 • Published 11 years ago

rocketio-client v0.0.4

Weekly downloads
2
License
-
Repository
-
Last release
11 years ago

Node RocketIO Client

Ruby's Sinatra::RocketIO client library for Node.js

How to use

see sample/sample.coffee

RocketIO = require 'rocketio-client'
io = new RocketIO()
io.connect 'http://localhost:5000'

io.on 'connect', (io)->
  console.log "connect!! (#{io.type})"
  io.push 'hello', 'hello world'

io.on 'echo', (data)->
  console.log "echo> #{data}"
0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago