We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84026a7 commit a8e6f8dCopy full SHA for a8e6f8d
README.md
@@ -100,8 +100,7 @@ let httpClient = HTTPClient(eventLoopGroupProvider: .createNew,
100
```
101
or on a per-request basis:
102
```swift
103
-let timeout = HTTPClient.Timeout(connect: .seconds(1), read: .seconds(1))
104
-httpClient.execute(request: request, timeout: timeout)
+httpClient.execute(request: request, deadline: .now() + .milliseconds(1))
105
106
107
### Streaming
0 commit comments