请求体:Request
Handshake Details
Request URL: http://localhost:9100/imserver/10
Request Method: GET
Status Code: 101
//请求头信息
Request Headers
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: eaG3ZHZ0k9Rzv9Op5d0M8Q==
Connection: Upgrade
Upgrade: websocket
Au:
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
Host: localhost:9100
返回体:Response
Response Headers
Upgrade: websocket
Connection: upgrade
Sec-WebSocket-Accept: 4M1zVG+vU88a6tRBoGDYcY+yV8I=
Sec-WebSocket-Extensions: permessage- deflate;client_max_window_bits=15
Date: Thu, 02 Dec 2021 06:26:54 GMT
发送信息
{
"userId":"10",
"toUserId":"20",
"contentText":"欢迎你来到元宇宙"
}