Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

No polling? #154

Open
jens1o opened this issue May 22, 2017 · 5 comments
Open

No polling? #154

jens1o opened this issue May 22, 2017 · 5 comments

Comments

@jens1o
Copy link

jens1o commented May 22, 2017

Hi,

for a new project, I need to do a websocket connection, but polling has been disabled. How can I deal with this in this lib, since I need avoid calling handshake()...

Any tip?

Jens

Btw: I'm sorry, but I do not have StackOverflow.

@Taluu
Copy link
Contributor

Taluu commented May 22, 2017

The thing is, the polling is needed to call the handshake which will return a key (a session id) to use the websockets, and also supported transports (polling, websockets, ...). That's at least how Socket.io used to work, I don't know if it changed since then.

Unless if you think you can determine the session-id or bypass it, you could do a PR to ignore the handshake...

@jens1o
Copy link
Author

jens1o commented May 22, 2017

Hmm, the changes looks like there are too complex, I think this follows to a backwards-compatibly change...

@Taluu
Copy link
Contributor

Taluu commented Jul 21, 2018

Not seeing why, as it should a sort of option / configuration (if config or option is not defined, keep the current behavior). Try it, and we'll mind it if we need to. :}

(Sorry for the delay, totally forgot about that :D)

@Taluu Taluu removed the support label Jul 21, 2018
@jens1o
Copy link
Author

jens1o commented Jul 22, 2018

Nice to know this is still maintained! No worries!

@Taluu
Copy link
Contributor

Taluu commented Jul 22, 2018

I wouldn't call this maintained but I still have a look around once in a while. I stopped using Elephant 3 years ago (or something like that), using AMQP instead (see #135). :}

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

No branches or pull requests

2 participants