osc-js icon indicating copy to clipboard operation
osc-js copied to clipboard

Accept full URL in osc.open()

Open arnoson opened this issue 4 years ago • 1 comments

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 (:

arnoson avatar Dec 01 '20 13:12 arnoson

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

adzialocha avatar Jan 03 '21 10:01 adzialocha