cskr/grasshopper

pubsub with Grasshopper?

Closed this issue · 2 comments

How does one use Socket.io or Faye with Grasshopper?

Thanks

Dave

Figured it out: gh.serve() returns the server, which socket.io can attach to:

server = gh.serve(8080)

io = require ('socket.io').listen(server)

cskr commented

Please use the mailing list for future queries. Issues are meant only for bugs and feature requests.