模拟限制请求后 API 发送的 Retry-After 标头。 当代理在 Retry-After 时间过前检测到对同一 URL 的后续请求时,此插件还会显示警告。
配置示例
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v2.0.0/rc.schema.json",
"plugins": [
{
"name": "RetryAfterPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll"
}
]
}
配置属性
没有
命令行选项
没有