演练场
在文档中添加交互式 WebSocket 演练场,让用户可以测试实时连接、发送消息并查看事件流。
WSS
Messages
{
"text": "<string>",
"subtext": "<string>",
"from": "<string>"
}{
"text": "<string>",
"subtext": "<string>",
"from": "<string>"
}"22:02:27 GMT+0000 (Coordinated Universal Time)"Test message
type:object
Test message sent to the echo server
Test message
type:object
Test message sent to the echo server
Timestamp
type:string
Timestamp message sent from echo hoppscotch server
Example:
22:02:27 GMT+0000 (Coordinated Universal Time)Was this page helpful?
⌘I
Messages
{
"text": "<string>",
"subtext": "<string>",
"from": "<string>"
}{
"text": "<string>",
"subtext": "<string>",
"from": "<string>"
}"22:02:27 GMT+0000 (Coordinated Universal Time)"