From 4feef8ac5498740d333f80df7d438cf1a1392637 Mon Sep 17 00:00:00 2001 From: Scott Offen <3513626+scottoffen@users.noreply.github.com> Date: Fri, 28 Nov 2025 22:29:38 -0700 Subject: [PATCH] Update documentation --- docs/docs/conditional-configuration.md | 4 ++-- docs/docs/configure-timeout.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/conditional-configuration.md b/docs/docs/conditional-configuration.md index ffce3a4..9dcd633 100644 --- a/docs/docs/conditional-configuration.md +++ b/docs/docs/conditional-configuration.md @@ -21,7 +21,7 @@ Eager conditions are evaluated immediately, at the time the fluent method is cal Use this when the condition is already known and will *not* change by the time the request is sent. -### Example +**Example** ```csharp builder @@ -48,7 +48,7 @@ Deferred conditions are evaluated **later**, when the `HttpRequestMessage` is bu This is ideal for logic that depends on late-bound state that isn’t available when constructing the fluent pipeline. -### Example +**Example** ```csharp builder.When( diff --git a/docs/docs/configure-timeout.md b/docs/docs/configure-timeout.md index 8e64c98..774a8d0 100644 --- a/docs/docs/configure-timeout.md +++ b/docs/docs/configure-timeout.md @@ -7,7 +7,7 @@ title: Configure Timeout FluentHttpClient provides a set of extensions for applying **per-request** timeouts. These timeouts define how long the client will wait for the current request to complete before canceling it. Timeouts are implemented through cancellation, do not alter `HttpClient.Timeout`, and have no effect on other requests made with the same `HttpClient` instance. -## Usage +## Add Timeout A timeout may be applied using either a number of seconds or a `TimeSpan`. The timeout must be a positive value. When set, the request will be canceled if the configured interval elapses before the response is received. @@ -29,7 +29,7 @@ var response = await client Timeouts link with any caller-provided `CancellationToken`; whichever triggers first will cancel the request. -### Clear Timeouts +## Clear Timeout Any timeouts that have been set can be clearing using `ClearTimeout`. This is most useful when the `HttpRequestBuilder` is being reused.