You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.
in my test,the same code of 'new WebSocket("ws://test.xxxxxx.cc:52184/mqtt", ["mqtt"]);',that can be opened on brower,but failed in "nativescript-websockets";
and code of 'new WebSocket("ws://xxxxxx") is ok
I notice ""The sending of Protocols support is not fully implemented on both platforms. Do not depend on this; it only partially works..""
I want to make sure if ["mqtt"] is suppored,thank you
The text was updated successfully, but these errors were encountered:
Not sure what mqtt is; but if you are passing "mqtt" as the protocol; then the receiving side is probably expecting mqtt being sent and so it is probably closing the connection when it doesn't get the a "mqtt" in the protocol list. Like I said in the docs; protocol support (i.e. sending and verifying a protocol) is not implemented; so if the SERVER is requiring "mqtt" then until this feature is added; it won't work unless you change the server to allow no protocol to work...
in my test,the same code of 'new WebSocket("ws://test.xxxxxx.cc:52184/mqtt", ["mqtt"]);',that can be opened on brower,but failed in "nativescript-websockets";
and code of 'new WebSocket("ws://xxxxxx") is ok
I notice ""The sending of Protocols support is not fully implemented on both platforms. Do not depend on this; it only partially works..""
I want to make sure if ["mqtt"] is suppored,thank you
The text was updated successfully, but these errors were encountered: