Html5 websocket example, websocket online chat, php websocket instance, html5websocket

Source: Internet
Author: User
Tags php websocket

Html5 websocket example, websocket online chat, php websocket instance, html5websocket
WebSocket online test tool http://ws.douqq.com/

1. The connection format is ws: // IP/Domain Name: Port (example: ws: // 119.29.3.36: 5354)
2. For an intranet test environment, you only need to enter the Intranet IP address and port of the server.
3. You can connect to the server ws address provided above to test your own client.

 

This site supports sending messages to QQ robots. First, add the robot QQ: 625789120 as a friend for testing.

 

1. Friend Message format {"type": "1", "qq": "94113786", "qun": "", "msg": "Hello "}

 

2. Group Message format {"type": "2", "qun": "293271355", "qq": "", "msg": "Hello "}

 

3. Like {"type": "3", "qq": "94113786 "}

 

4. check {"type": "4", "qq": "94113786 "}

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.