Skip to content

Commit 9d02e14

Browse files
committed
Update README.md
1 parent 5f82478 commit 9d02e14

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,17 @@ Fast-track functions return **(Data, URLResponse)** if you need to validate stat
9999
```swift
100100
/// Send custom request based on the specific request instance
101101
/// - Parameters:
102-
/// - request: A URL load request that is independent of protocol or URL scheme
103-
/// - retry: ``RetryService.Strategy`` strategy Default value .exponential with 5 retry and duration 2.0
104-
/// - validate: Set of custom validate fun ``Http.Validate`` For status code like an example Default value to validate statusCode == 200 You can set up diff combinations check out ``Http.Validate.Status``
105-
/// - taskDelegate: A protocol that defines methods that URL session instances call on their delegates to handle task-level events
102+
/// - request: A URL load request that is independent of protocol
103+
/// or URL scheme
104+
/// - retry: ``RetryService.Strategy`` strategy Default value
105+
/// .exponential with 5 retry and duration 2.0
106+
/// - validate: Set of custom validate fun ``Http.Validate`` For
107+
/// status code like an example Default value to validate
108+
/// statusCode == 200 You can set up diff combinations check out
109+
/// ``Http.Validate.Status``
110+
/// - taskDelegate: A protocol that defines methods that URL
111+
/// session instances call on their delegates to handle task-level
112+
/// events
106113
public func send<T>(
107114
with request : URLRequest,
108115
retry strategy : RetryService.Strategy = .exponential(),

0 commit comments

Comments
 (0)