diff --git a/docs/media/timeout strategy happy path.png b/docs/media/timeout strategy happy path.png new file mode 100644 index 00000000000..9e8264f824a Binary files /dev/null and b/docs/media/timeout strategy happy path.png differ diff --git a/docs/media/timeout strategy unhappy path.png b/docs/media/timeout strategy unhappy path.png new file mode 100644 index 00000000000..6af095f6a52 Binary files /dev/null and b/docs/media/timeout strategy unhappy path.png differ diff --git a/docs/strategies/timeout.md b/docs/strategies/timeout.md index b5e2821cdc9..99ec940f51d 100644 --- a/docs/strategies/timeout.md +++ b/docs/strategies/timeout.md @@ -77,3 +77,54 @@ HttpResponseMessage httpResponse = await pipeline.ExecuteAsync( | `Timeout` | 30 seconds | The default timeout used by the strategy. | | `TimeoutGenerator` | `null` | Generates the timeout for a given execution. | | `OnTimeout` | `null` | Event that is raised when timeout occurs. | + +## Diagrams + +### Happy path sequence diagram + +![Timeout strategy - happy path](../media/timeout%20strategy%20happy%20path.png) + + + +### Unhappy path sequence diagram + +![Timeout strategy unhappy path](../media/timeout%20strategy%20unhappy%20path.png) + + + +---