Skip to content

Commit cb8915d

Browse files
authored
Documentation Updates (#49)
1 parent 2643c35 commit cb8915d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/docs/conditional-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Eager conditions are evaluated immediately, at the time the fluent method is cal
2121

2222
Use this when the condition is already known and will *not* change by the time the request is sent.
2323

24-
### Example
24+
**Example**
2525

2626
```csharp
2727
builder
@@ -48,7 +48,7 @@ Deferred conditions are evaluated **later**, when the `HttpRequestMessage` is bu
4848

4949
This is ideal for logic that depends on late-bound state that isn’t available when constructing the fluent pipeline.
5050

51-
### Example
51+
**Example**
5252

5353
```csharp
5454
builder.When(

docs/docs/configure-timeout.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Configure Timeout
77

88
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.
99

10-
## Usage
10+
## Add Timeout
1111

1212
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.
1313

@@ -29,7 +29,7 @@ var response = await client
2929

3030
Timeouts link with any caller-provided `CancellationToken`; whichever triggers first will cancel the request.
3131

32-
### Clear Timeouts
32+
## Clear Timeout
3333

3434
Any timeouts that have been set can be clearing using `ClearTimeout`. This is most useful when the `HttpRequestBuilder` is being reused.
3535

0 commit comments

Comments
 (0)