Netty實現WebSocket通訊案例
阿新 • • 發佈:2018-12-19
Netty開發服務端,HTML實現客戶端,實現服務端與客戶端的實時互動。
1.儲存整個工程的全域性配置:
|
2.接收/處理/響應客戶端websocket請求的核心業務處理類
|
3.初始化連線時候的各個元件
|
4.程式的入口,負責啟動應用
|
5.html
|
---摘自慕課網netty課程