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

ping pong documentation #21

Open
skywalk1411 opened this issue Feb 6, 2023 · 1 comment
Open

ping pong documentation #21

skywalk1411 opened this issue Feb 6, 2023 · 1 comment

Comments

@skywalk1411
Copy link

Hello,

Where is the ping documentation, websocket keep disconnecting me after a while, no mention of returning ping/pong but I bet that is the problem, I look at finnhub code, and nowhere do I find any mention of ping pong

server send me {"type":"ping"} every 1-2 mins

I try sending a websocket.ping() or .pong() or {"type":"ping"} or {"type":"pong"} but I still keep getting disconnected. so my question is simple.

Where is the ping pong documentation, what is it exactly do I need to keep telling the finnhub websocket server so my connection stay alive?

Thank you.

@marbx
Copy link

marbx commented Dec 18, 2023

Good question

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

2 participants