Skip to content

Rate limiting binding and WebSockets client/server #674

Closed Answered by spigaz
gnarea asked this question in Q&A
Discussion options

You must be logged in to vote

I haven't tried the rate limiting api myself and I don't know if the support was already added.

But most support is done in the JS/TS side, you might miss a rust wrapper, that you can easily do, normally there is similar code already for other stuff.
Then open a PR and they will accept it.

Workers use a specific WebSockets api that is specially relevant for the server handling of websockets, as it allows it to hibernate, instead of have the code constantly running.
https://developers.cloudflare.com/workers/runtime-apis/websockets/

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by gnarea
Comment options

You must be logged in to vote
1 reply
@spigaz
Comment options

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