09.05.2020, 12:10
Referring to the WebSocket post, we are able to connect to the web-socket server, but in the CASAMBI API documentation, they have asked to pass the "API-Key" (a string) as "protocol" (under "Create WebSocket Connection" section of documentation). They have also given an example in JavaScript which is shown below.
How shall this be implemented using LM WebSocket Library. ? we tried but it is not working (in LM Ambient)
https://developer.casambi.com/
How shall this be implemented using LM WebSocket Library. ? we tried but it is not working (in LM Ambient)
Code:
webSocket = new WebSocket("url", "api_key");