a11y.skipToMainContent
1

WebSocket 测试器

连接到任何WebSocket端点,发送消息,并查看实时收到的数据. 监视连接事件和消息历史.

WebSocket Tester
Messages
More options
Was this tool helpful?
Send output to:
Advertisement

How to use WebSocket Tester

  1. 输入 WebSocket URL(ws://或wss://).
  2. 点击连接建立连接 .
  3. 键入信件并单击 Send.
  4. 在日志中查看收到的信息和连接事件.

{姓名}是什么来着?

A WebSocket测试器允许您建立WebSocket连接,用于端点,发送消息并接收实时回复. 它显示连接事件( 打开、 关闭、 出错) , 并维持一个消息历史日志 。

这一工具对于测试聊天系统、实时数据输入和通知服务等实时应用程序至关重要。 所有连接直接取自您的浏览器。

Advertisement

FAQ

支持什么协议?
该工具支持标准WebSocket协议(ws://)并安全WebSocket(ws://.
我能发送二进制数据吗?
目前该工具支持文本信息 。 未来可能会增加二进制消息支持.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

Advertisement