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
I've previously been using Axios for a project, but I am looking to port it over to faye-websocket-ruby. The code I am looking to port doesn't seem to have an apparent equivalent that I can find for this project:
This library does not have distinct options for constructing the connection URL, it expects to be given a complete URL and only parses it to the extent necessary to make the initial HTTP request. To make a client connection:
I've previously been using Axios for a project, but I am looking to port it over to faye-websocket-ruby. The code I am looking to port doesn't seem to have an apparent equivalent that I can find for this project:
Here is an example
mysocket = io(CONNECT_STR, { path: "/xyz", transport: ['websocket'], query: {itemOne: 1, itemTwo: 2} });
Specifically, I am struggling with the path and query options; is there an equivalent to faye-websocket-ruby?
The text was updated successfully, but these errors were encountered: