Package org.webbitserver

Examples of org.webbitserver.WebSocketHandler


        System.out.print(c + "");
    }

    public static void main(String[] args) throws Exception {
        WebServer webServer = createWebServer(9888)
                .add("/echo", new WebSocketHandler() {
                    @Override
                    public void onOpen(WebSocketConnection connection) throws Exception {
                      connection.send("CONNECT");
                      log('C');
                    }
View Full Code Here

TOP

Related Classes of org.webbitserver.WebSocketHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.