Skip to content
New issue

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

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

Already on GitHub? # to your account

Chnage uri of created client #5292

Open
mrafieefard opened this issue Feb 13, 2025 · 0 comments
Open

Chnage uri of created client #5292

mrafieefard opened this issue Feb 13, 2025 · 0 comments

Comments

@mrafieefard
Copy link

Discussed in #5291

Originally posted by mrafieefard February 13, 2025
Hello I am creating a react app that users should deploy their own socketio server and then specify their ip and port in the client app because the app should verify socket io connection without messing with events I need to change the uri I tried to create new instance of socket io client but if I do this all events will destroy and I can't define events again because the events will define on different files

I want someone help me to change uri of the current socketio client instance I also saw this discussion #4246 (comment) but io doesn't have any uri option that I can change in fact at first there is no uri const.

Thank you

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant