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

Accept full URL in osc.open() #44

Open
arnoson opened this issue Dec 1, 2020 · 1 comment
Open

Accept full URL in osc.open() #44

arnoson opened this issue Dec 1, 2020 · 1 comment

Comments

@arnoson
Copy link

arnoson commented Dec 1, 2020

It would be nice to shorten this:

osc.open({ host: '127.0.0.1', port: 80, secure: true  })

to something like this:

osc.open('wss://127.0.0.1:80')

If you are interested I can implement this feature and create a pull request (:

@adzialocha adzialocha changed the title Accpet full URL in osc.open() Accept full URL in osc.open() Jan 3, 2021
@adzialocha
Copy link
Owner

I agree, thats definitely useful @arnoson, it would be great if you could write a PR for this 😺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants