Skip to content

Commit f456534

Browse files
committed
Update README.md
1 parent 5395513 commit f456534

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,21 @@ Network layer for running requests like GET, POST, PUT, DELETE etc customizable
6969
/// - taskDelegate: A protocol that defines methods that URL session instances call on their delegates to handle task-level events
7070
public func send<T>(
7171
with request : URLRequest,
72-
retry strategy : RetryService.Strategy = .exponential(retry: 5, duration: 2.0),
72+
retry strategy : RetryService.Strategy,
7373
_ taskDelegate: ITaskDelegate? = nil
7474
) async throws -> Http.Response<T> where T : Decodable
7575
```
7676

7777
## Retry strategy
7878

79+
This package uses stand alone package providing retry policy. The service creates sequence of the delays (nanoseconds) according to chosen strategy for more details foloe the link [retry service](https://github.com/The-Igor/retry-policy-service)
80+
7981
| type | description |
8082
| --- | --- |
8183
| constant | The strategy implements constant backoff |
8284
| exponential [default] | The strategy implements exponential backoff |
8385

84-
for more details [retry service](https://github.com/The-Igor/retry-policy-service)
86+
8587

8688
# The concept
8789

0 commit comments

Comments
 (0)