public void start() {
int port = 9191;
HttpServer server = vertx.createHttpServer();
final SocketIOServer io = new DefaultSocketIOServer(vertx, server);
io.configure(new Configurer() {
public void configure(JsonObject config) {
config.putString("transports", "websocket,flashsocket,xhr-polling,jsonp-polling,htmlfile");
// config.putString("transports", "xhr-polling,jsonp-polling,htmlfile");
}
});