共用方式為


RetryAfterPlugin

在節流要求之後,模擬 API 所傳送的 Retry-After 標頭。 當 Proxy 在經過 Retry-After 時間之前偵測到相同 URL 的後續要求時,此外掛程式也會顯示警告。

命令提示字元的螢幕快照,其中開發人員 Proxy 強制失敗在重試期間之前發出的要求。

組態範例

{
  "$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"
    }
  ]
}

組態屬性

沒有

命令行選項

沒有

後續步驟