程序包 xin.alum.aio.websocks
This package contains a benchmark application for websockets.
The websocket server will accept websocket upgrade requests and simply echo all incoming frames.
The supplied index page contains a benchmark client that runs in a browser.
Once started, you can start benchmarking by by navigating to http://localhost:8080/ with your browser.
You can also test it with a web socket client. Send web socket traffic to ws://localhost:8080/ws.
-
接口概要 接口 说明 WebSocketHandShake WebSocket 握手处理 -
类概要 类 说明 WebSocketServerBenchmarkPage Generates the benchmark HTML page which is served at http://localhost:8080/WebSocketServerHandler 处理握手和消息WebSocketServerInitializer