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

Token in base url #135

Open
antoinechamot opened this issue Mar 2, 2021 · 0 comments
Open

Token in base url #135

antoinechamot opened this issue Mar 2, 2021 · 0 comments

Comments

@antoinechamot
Copy link

antoinechamot commented Mar 2, 2021

I want to use this manual connection example :

Vue.use(VueNativeSock, 'ws://localhost:9090', {
connectManually: true,
})
const vm = new Vue()
// Connect to the websocket target specified in the configuration
vm.$connect().

But when i do connect(). I need to pass a token in the url for authentication. Is it possible without re-writing the entire url and options ?

@antoinechamot antoinechamot changed the title Change base url Token in base url Mar 2, 2021
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