You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the developer of a web application, I would like to be able to throttle the bandwidth of certain responses, so that my app stays responsive on slow connections.
The concern could wrap the IResponseContent provided by the inner handler into a limited response content which passes a rate limited Stream instance into the inner response content.
Acceptance criteria
The functionality is implemented in a new module (such as GenHTTP.Modules.RateLimiting)
The functionality is implemented as an IConcern
Limit can be specified either per connection or as a total limit for all connections
Limits can be specified on a reasonable scale (such as kb/s)
The functionality introduces as few shared locks as possible
There are acceptance tests to ensure the implemented functionality
The text was updated successfully, but these errors were encountered:
As the developer of a web application, I would like to be able to throttle the bandwidth of certain responses, so that my app stays responsive on slow connections.
Example
Hints
The concern could wrap the
IResponseContent
provided by the inner handler into a limited response content which passes a rate limitedStream
instance into the inner response content.Acceptance criteria
GenHTTP.Modules.RateLimiting
)IConcern
kb/s
)The text was updated successfully, but these errors were encountered: