We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fa804c1 + df39c7a commit 95f61f2Copy full SHA for 95f61f2
1 file changed
README.md
@@ -81,11 +81,12 @@ Here's an example of how to use it:
81
import HaystackClientNIO
82
83
func client() throws -> Client {
84
+ let httpClient = HTTPClient(eventLoopGroupProvider: .createNew)
85
return try Client(
86
baseUrl: "http://mydomain.com/api/",
87
username: "username",
88
password: "password",
- eventLoopGroup: MultiThreadedEventLoopGroup(numberOfThreads: 1)
89
+ httpClient: httpClient
90
)
91
}
92
```
0 commit comments