WithRequestTimeout returns a RequestOption that sets the timeout for.
func WithRequestTimeout(dur time.Duration) RequestOptionWithRequestTimeout returns a RequestOption that sets the timeout for each request attempt. This should be smaller than the timeout defined in the context, which spans all retries.
| Name | Type | Description |
|---|---|---|
dur* | time.Duration |