在節流要求之後,模擬 API 所傳送的 Retry-After 標頭。 當 Proxy 在經過 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"
}
]
}
組態屬性
沒有
命令行選項
沒有