Skip to content

Instantly share code, notes, and snippets.

@tobias
Created August 29, 2013 15:16
Show Gist options
  • Select an option

  • Save tobias/6379422 to your computer and use it in GitHub Desktop.

Select an option

Save tobias/6379422 to your computer and use it in GitHub Desktop.
var vertx = require('vertx')
var server = vertx.createHttpServer()
vertx.createSockJSServer(server).bridge({prefix: "/eventbus"}, [{}], [{}])
server.listen(8080, function() {server.close()})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment