Skip to content

Rate limit on websocket connections #35

Answered by abersheeran
GDTNguyen asked this question in Q&A
Discussion options

You must be logged in to vote

https://github.com/abersheeran/asgi-ratelimit/blob/master/ratelimit/core.py#L50-L51

Currently, WebSocket rate limiting is not supported, because the ASGI protocol does not allow custom HTTP to be returned for WebSocket.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@GDTNguyen
Comment options

@GDTNguyen
Comment options

Answer selected by GDTNguyen
Comment options

You must be logged in to vote
0 replies
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