Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update catseffect.md #1826

Merged
merged 1 commit into from
May 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/backends/catseffect.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ Also note that the [http4s](http4s.md) backend can also be created for a type im

## Using HttpClient

Firstly, add the following dependency to your project:

```scala
"com.softwaremill.sttp.client4" %% "cats" % "@VERSION@"
```

Obtain a cats-effect `Resource` which creates the backend, and closes the thread pool after the resource is no longer used:

```scala mdoc:compile-only
Expand Down