src/main/java/com/github/gregwhitaker/ratpackrxstreams/example/Main.java
/**
     * Main entry-point of the application.
     */
Main entry-point of the application.
Main entry - point of the application .
public static void main(String... args) throws Exception {
        RxRatpack.initialize();
        RatpackServer.start(s -> s
                .serverConfig(c -> c.baseDir(BaseDir.find()))
                .registry(Guice.registry(b -> b.module(NumbersModule.class)))
                .handlers(chain -> chain
                        .get("numbers", WebSocketNumbersHandlers.class)
                        .files(f -> f
                                .dir("public").indexFiles("index.html"))));
    }
public static void main ( String ... args ) throws Exception { RxRatpack . initialize ( ) ; RatpackServer . start ( s -> s . serverConfig ( c -> c . baseDir ( BaseDir . find ( ) ) ) . registry ( Guice . registry ( b -> b . module ( NumbersModule . class ) ) ) . handlers ( chain -> chain . get ( "numbers" , WebSocketNumbersHandlers . class ) . files ( f -> f . dir ( "public" ) . indexFiles ( "index.html" ) ) ) ) ; }
Main entry-point of the application.
Main entry - point of the application .