Is there any way to send ping/pong heartbeat message with data stream protocol #9650
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This discussion was automatically locked because it has not been updated in over 30 days. If you still have questions about this topic, please ask us at community.vercel.com/ai-sdk |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have met the situation that one of my function call takes a lot time, which may be more than 60s. Cloudflare and load balance think the connection is idle and diconnect it.
Is there anyway I can send ping/pong through the data stream protocol? I try to add { type: "pong" } on my server stream but it seems break the whole stream and I can not get any event after this.
Beta Was this translation helpful? Give feedback.
All reactions