| 接口 | 说明 |
|---|---|
| WebSocketHandShake |
WebSocket 握手处理
|
| 类 | 说明 |
|---|---|
| WebSocketServerBenchmarkPage |
Generates the benchmark HTML page which is served at http://localhost:8080/
|
| WebSocketServerHandler |
Handles handshakes and messages
|
| WebSocketServerInitializer |
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.
Copyright © 2020–2022 The AIM Project. All rights reserved.