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 Feb 26, 2021. It is now read-only.
It's necessary to add a query option, to allow for a server side to define wich query has come - it it from the 'js-libp2p-websocket-star' and 'js-libp2p-webrtc-star'.
For example, i wrote the proxy server and it's necessary to decide which server must handle the query received - 'libp2p-websocket-star-rendezvous' or 'star-signal' instance.
At now i've added this configuration to the library:
const sioOptions = {
transports: ['websocket'],
'force new connection': true,
query: {
ws: true,
},
};
and use the 'patch-package' to resolve the issue
The text was updated successfully, but these errors were encountered:
It's necessary to add a query option, to allow for a server side to define wich query has come - it it from the 'js-libp2p-websocket-star' and 'js-libp2p-webrtc-star'.
For example, i wrote the proxy server and it's necessary to decide which server must handle the query received - 'libp2p-websocket-star-rendezvous' or 'star-signal' instance.
At now i've added this configuration to the library:
const sioOptions = {
transports: ['websocket'],
'force new connection': true,
query: {
ws: true,
},
};
and use the 'patch-package' to resolve the issue
The text was updated successfully, but these errors were encountered: