Skip to content

Instantly share code, notes, and snippets.

@yankov
Created May 22, 2012 05:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yankov/2766886 to your computer and use it in GitHub Desktop.
Save yankov/2766886 to your computer and use it in GitHub Desktop.
require 'vertx'
server = Vertx::HttpServer.new;
sockJSServer = Vertx::SockJSServer.new(server)
sockJSServer.bridge({'prefix' => '/eventbus'}, [] )
server.listen(8080)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment