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
Hello, thank you for the great work you continue to do.
It seems when creating a client for WebTransport it is expected that the environment is browser check here but one might want to use a client in nodejs environments as well. The good thing is @fails-components has a client for nodejs all that needs to be done is update the line referred above were if typeof WebTransport !== 'function' we import WebTransport from @fails-components/webtransport/lib/webtransport.node.js
I tried it locally it works (now I have other issues related to handshake) but at least it creates the WebTransport correctly
The text was updated successfully, but these errors were encountered:
Hello, thank you for the great work you continue to do.
It seems when creating a client for WebTransport it is expected that the environment is browser check here but one might want to use a client in nodejs environments as well. The good thing is
@fails-components
has a client for nodejs all that needs to be done is update the line referred above were iftypeof WebTransport !== 'function'
we importWebTransport
from@fails-components/webtransport/lib/webtransport.node.js
I tried it locally it works (now I have other issues related to handshake) but at least it creates the WebTransport correctly
The text was updated successfully, but these errors were encountered: