Skip to content

How do I set the heartbeat period of socket.io-client:1.0.0 #4856

Discussion options

You must be logged in to vote

Hi! The pingInterval option is managed by the server, not by the client.

Reference: https://socket.io/docs/v4/server-options/#pinginterval

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@huangjinbing
Comment options

@huangjinbing
Comment options

@darrachequesne
Comment options

Answer selected by darrachequesne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants