[x] I have searched to see if a similar issue already exists.
Is your feature request related to a problem? Please describe.
I'm building a Cloudflare worker that needs to call the Gradio API. But Cloudflare uses edge as a javascript runtime, and it doesn't support nodejs modules like fs, os, stream, etc. that ws depends on, therefore I cannot use @gradio/client.
Describe the solution you'd like
Since Cloudflare implements its own WebSocket client, it would be great if there are any docs about REST API, so I can implement client in my own.
Is your feature request related to a problem? Please describe.
I'm building a Cloudflare worker that needs to call the Gradio API. But Cloudflare uses
edge
as a javascript runtime, and it doesn't support nodejs modules likefs
,os
,stream
, etc. thatws
depends on, therefore I cannot use@gradio/client
.Describe the solution you'd like
Since Cloudflare implements its own WebSocket client, it would be great if there are any docs about REST API, so I can implement client in my own.