You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -159,7 +159,7 @@ The documentation is typechecked using [mdoc](https://scalameta.org/mdoc/). The
159
159
160
160
When generating documentation, it's best to set the version to the current one, so that the generated doc files don't include modifications with the current snapshot version.
161
161
162
-
That is, in sbt run: `set ThisBuild/version := "4.0.0-RC1"`, before running `mdoc` in `docs`.
162
+
That is, in sbt run: `set ThisBuild/version := "4.0.0-RC2"`, before running `mdoc` in `docs`.
A fully **asynchronous** backend. Uses the `Future` effect to return responses. There are also [other `Future`-based backends](future.md), which don't depend on Akka.
A fully **asynchronous** backend. Uses the `Future` effect to return responses. There are also [other `Future`-based backends](future.md), which don't depend on Pekko.
The backend caches responses to eligible requests, and returns them from the cache if a repeated request is made. A prerequisite for a request to be considered for caching is that its response-as description is "cache-friendly"; this excludes non-blocking streaming responses, file-based responses and WebSockets.
Copy file name to clipboardexpand all lines: generated-docs/out/backends/wrappers/custom.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ A number of example backend wrappers can be found in [examples](../../examples.m
45
45
Implementing a new backend is made easy as the tests are published in the `core` jar file under the `tests` classifier. Simply add the follow dependencies to your `build.sbt`:
46
46
47
47
```
48
-
"com.softwaremill.sttp.client4" %% "core" % "4.0.0-RC1" % Test classifier "tests"
48
+
"com.softwaremill.sttp.client4" %% "core" % "4.0.0-RC2" % Test classifier "tests"
49
49
```
50
50
51
51
Implement your backend and extend the `HttpTest` class:
There are three backend wrappers available, which log request & response information using a slf4j `Logger`. To see the logs, you'll need to use an slf4j-compatible logger implementation, e.g. [logback](http://logback.qos.ch), or use a binding, e.g. [log4j-slf4j](https://logging.apache.org/log4j/2.x/log4j-slf4j-impl.html).
@@ -53,5 +53,5 @@ To create a customized logging backend, see the section on [custom backends](cus
53
53
To use the [scribe](https://github.com/outr/scribe) logging backend wrapper, add the following dependency to your project:
0 commit comments