Skip to content

Commit e1e39fe

Browse files
committed
update
1 parent af6e82e commit e1e39fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Network layer for creating different requests like GET, POST, PUT, DELETE etc cu
6868
/// - taskDelegate: A protocol that defines methods that URL session instances call on their delegates to handle task-level events
6969
func sendRetry(
7070
with request : URLRequest,
71-
retry : Int,
71+
retry : Int = 1,
7272
_ taskDelegate: ITaskDelegate? = nil
7373
```
7474

Sources/async-http-client/proxy/http/Proxy.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ private extension Http.Proxy{
154154
/// - taskDelegate: A protocol that defines methods that URL session instances call on their delegates to handle task-level events
155155
func sendRetry(
156156
with request : URLRequest,
157-
retry : Int,
157+
retry : Int = 1,
158158
_ taskDelegate: ITaskDelegate? = nil
159159
) async throws -> (Data, URLResponse)
160160
{

0 commit comments

Comments
 (0)