Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问可以用这个来限制httprequest请求的下载速度吗 #15

Open
mirror222 opened this issue Apr 23, 2024 · 1 comment
Open

Comments

@mirror222
Copy link

rt

@bosima
Copy link
Owner

bosima commented May 22, 2024

理论上可以,但是这不容易,需要你在response数据的地方,每返回若干大小的数据后就调用下本算法的Check方法,然后根据是否触发限流,进行控制逻辑。

建议还是使用专业的工具进行限制。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants