Joke Collection Website - Public benefit messages - How to operate Alibaba Cloud API gateway websocket two-way communication registration signaling?
How to operate Alibaba Cloud API gateway websocket two-way communication registration signaling?
Alibaba Cloud API Gateway provides two-way communication capability to the outside world. The languages of official SDK are limited, and some languages need users to develop their own SDK.
When the client calls the API, the request and reply are all strings in pure Json format, that is, the HTTP request object is formatted according to Json syntax and then transmitted. WebSocket will format this HTTP request message into a string format for transmission during communication.
In the process of two-way communication, in addition to normal API calls, there are a series of customized commands:
Client registration: command word, command type, sender, format, etc.
Client keeps heartbeat:
Downlink notification:
Other signals:
- Previous article:Lingshan Map Raiders Tourist Attractions Introduction Lingshan Map Raiders Tourist Attractions Introduction Video
- Next article:As shown in the figure, in payment security, will there be a SMS prompt after canceling WeChat payment, or will there be a SMS verification code during the cancellation process?
- Related articles
- Greeting comrades-in-arms on the winter solstice Ąż greetings to comrades-in-arms are very short.
- How to close the notification of the US Mission?
- Mid-Autumn Festival wishes parents.
- How does QQ Synchronization Assistant for iphone synchronize SMS?
- A text message from 95533. What's this? Can you tell me if you know it?
- What's the matter with getting a yellow text message from a mobile phone?
- Community organizations in Ding Dong couldn't find the order for several hours.
- International Youth Day Blessing Youth SMS
- Badge worn by court staff
- Liu Personal Baidu Encyclopedia Specific Information: