Skip to content

resSpeed

Sets the response body transmission speed (unit: kb/s, kilobits per second).

Rule Syntax

txt
pattern resSpeed://value [filters...]
ParametersDescriptionDetailed Documentation
patternExpression to match request URLsMatch Pattern Documentation
valueTransmission speed (unit: kb/s, kilobits per second)
⚠️ Loading data from files/remote URLs is not supported
Operation Instruction Documentation
filtersOptional filters, supports matching:
• Request URL/Method/Headers/Content
• Response Status Code/Headers
Filter Documentation

Configuration Example

txt
# Limit the response content transmission speed to 3kb/s
www.example.com/path resSpeed://3

This rule is ineffective for requests without a request body, such as those with methods like GET, HEAD, CONNECT (TUNNEL request), and UPGRADE (WebSocket request).