Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/docs/conditional-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/configure-timeout.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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.

Expand Down