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

feature request: base URL #97

Open
robbiemu opened this issue Aug 4, 2016 · 0 comments
Open

feature request: base URL #97

robbiemu opened this issue Aug 4, 2016 · 0 comments

Comments

@robbiemu
Copy link

robbiemu commented Aug 4, 2016

It'd be nice to be able to support connections to a port with relative URLs.. for example:

s = $websocket('ws://localhost:8080')
s.setUri('/user').send("LOGIN " + user) //using the current socket, send to uri localhost:8080/user
...
s.setUri('/main').send("LIST " request_body) // later, using the same socket, send to uri localhost:8080/main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant