ワンクリックで
http-pipeline
Use when changing HTTP handlers, retry behavior, or pipeline ordering in Contentstack.Management.Core.Runtime.Pipeline.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when changing HTTP handlers, retry behavior, or pipeline ordering in Contentstack.Management.Core.Runtime.Pipeline.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when reviewing or preparing a pull request for contentstack-management-dotnet.
Use for branches, CI, build/test scripts, and NuGet release flow in contentstack-management-dotnet.
Use for the contentstack.management.aspnetcore package, HttpClient/DI registration with ASP.NET Core.
Use when changing or using the CMA client API, authentication, or NuGet package surface for Contentstack.Management.Core.
Use for C# language level, nullable usage, and file/folder layout consistent with Contentstack.Management.Core.
Use when building or updating DocFX API documentation under docfx_project for this repository.
| name | http-pipeline |
| description | Use when changing HTTP handlers, retry behavior, or pipeline ordering in Contentstack.Management.Core.Runtime.Pipeline. |
RetryHandler, DefaultRetryPolicy, or RetryConfiguration.ContentstackClient.BuildPipeline.ContentstackClient.BuildPipeline registers handlers in this outer-to-inner order for execution:
HttpHandler — sends the HttpRequestMessage via the SDK’s HttpClient.RetryHandler — wraps the inner handler and applies RetryPolicy.Incoming calls traverse RetryHandler first, which delegates to HttpHandler for the actual HTTP call, then inspects success/failure and may retry.
ContentstackClientOptions.RetryPolicy is set, that instance is used.RetryConfiguration.FromOptions(contentstackOptions) builds a RetryConfiguration, then new DefaultRetryPolicy(retryConfiguration).RetryConfiguration holds defaults and toggles, including:
RetryOnError, RetryLimit, RetryDelayRetryOnNetworkFailure, RetryOnDnsFailure, RetryOnSocketFailure, MaxNetworkRetries, NetworkRetryDelay, RetryOnHttpServerError, etc.Exact defaults and edge cases belong in code comments and unit tests—do not duplicate the full matrix here; change the source and tests together.
DefaultRetryPolicy maintains a set of status codes that may trigger HTTP retries (e.g. selected 5xx, 429, timeouts, Unauthorized in the default set). When adjusting this list, consider:
ContentstackClient.Contentstack.Management.Core.Unit.Tests/Runtime/Pipeline/ — e.g. RetryHandler, RetryDelayCalculator, DefaultRetryPolicy, NetworkErrorDetector, etc. Update these when behavior changes.