Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specific transports? #49

Closed
Dorbmon opened this issue Jul 3, 2023 · 1 comment · Fixed by #70
Closed

How to specific transports? #49

Dorbmon opened this issue Jul 3, 2023 · 1 comment · Fixed by #70
Labels
enhancement New feature or request question Further information is requested

Comments

@Dorbmon
Copy link

Dorbmon commented Jul 3, 2023

In node, we can use io.set(transports,['websocket']) to specific websocket protocol. How to do it in the socketioxide? Thanks!

@Totodore
Copy link
Owner

Totodore commented Jul 3, 2023

So currently it supports both websocket and polling transport by default and you cannot restrict the server to one transport.
It may be the subject of a new PR :

  • Add a transport list in the EngineIoConfig / SocketIoConfig

@Totodore Totodore added the question Further information is requested label Jul 3, 2023
@Totodore Totodore added the enhancement New feature or request label Jul 19, 2023
Totodore added a commit that referenced this issue Aug 18, 2023
…trictions

feat(engineioxide): specific transport restrictions (fix issue #49)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants