模拟限制请求后 API 发送的 Retry-After 标头。 当开发代理在经过时间之前Retry-After检测到对同一 URL 的后续请求时,插件会报告该请求,并用标头的另一个429 Too Many RequestsRetry-After响应失败请求。
配置示例
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v3.3.1/rc.schema.json",
"plugins": [
{
"name": "RetryAfterPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll"
}
]
}
配置属性
没有
命令行选项
没有