WebSocket 協議有兩部分:握手和資料傳輸。 來自客戶端的握手開起來像下面:. GET /chat HTTP/1.1. Host: server.example.com. Upgrade: websocket.
確定! 回上一頁