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

Cant create WebSocketConnection #110

Open
Mom0aut opened this issue Apr 10, 2023 · 0 comments
Open

Cant create WebSocketConnection #110

Mom0aut opened this issue Apr 10, 2023 · 0 comments

Comments

@Mom0aut
Copy link

Mom0aut commented Apr 10, 2023

Hey i cant create a Websocket connection the response object is always null. Is there maybe a problem with the Websocket-Connection with the R12 version?

Example Code

const ws = await createWebSocketConnection({
        authenticationOptions: {
            // any options that can also be called to authenticate()
            awaitConnection: true,
        }, pollInterval: 1000
    })

ws.on('message', message => { //ws is always null
  // Subscribe to any websocket event
})

I am using Next.js with Electron, maybe i am missing something?

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