websocket_chat | a websoeket based chat room
kandi X-RAY | websocket_chat Summary
kandi X-RAY | websocket_chat Summary
a websoeket based chat room
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of websocket_chat
websocket_chat Key Features
websocket_chat Examples and Code Snippets
Community Discussions
Trending Discussions on websocket_chat
QUESTION
I have the websocket examples for Mongoose 6.12 running well on my embedded platform.
What I am wondering is how is it possible to manage multiple URL of websockets?
Our goal is to have multiple web pages on our platform, each one periodically retrieving data over websockets from the server. Depending on the websocket URL, different set of data would be returned.
Using the example "websocket_chat" as a reference, the sending of code :
...ANSWER
Answered 2018-Oct-03 at 14:30I think you can catch MG_EV_WEBSOCKET_HANDSHAKE_REQUEST
event, which has access to the URI, and which can set the marker in the user_data
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install websocket_chat
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page