Skip to content

#resDelay Sets the delay time (in milliseconds) after the server completes processing.

Rule Syntax

txt
pattern resDelay://value [filters...]
ParametersDescriptionDetailed Documentation
patternExpression to match request URLsMatch Pattern Documentation
valueTime value (unit: milliseconds)
⚠️ Loading data from files/remote URLs is not supported
Operation Instruction Documentation
filtersOptional filters, supporting matching:
• Request URL/Method/Headers/Content
• Response Status Code/Headers
Filter Documentation

Configuration Example

txt
# Delay 3000 milliseconds (i.e., 3 seconds) before responding to the client after the backend returns
www.example.com/path resDelay://3000

# Delay 5000 seconds (i.e., 5 seconds) after the backend returns Abort the request after 5 seconds.
www.example.com/path2 resDelay://5000 enable://abortRes