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
@@ -156,7 +156,7 @@ The documentation is typechecked using [mdoc](https://scalameta.org/mdoc/). The
156
156
157
157
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.
158
158
159
-
That is, in sbt run: `set ThisBuild/version := "4.0.13"`, before running `mdoc` in `docs`.
159
+
That is, in sbt run: `set ThisBuild/version := "4.0.14"`, 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.
@@ -126,6 +126,11 @@ This backend is built on top of [Armeria](https://armeria.dev/docs/client-http).
126
126
Armeria's [ClientFactory](https://armeria.dev/docs/client-factory) manages connections and protocol-specific properties.
127
127
Please visit [the official documentation](https://armeria.dev/docs/client-factory) to learn how to configure it.
128
128
129
+
## Using JavaScript
130
+
131
+
The Fs2 backend is also available for the JS platform, see [the `FetchBackend` documentation](javascript/fetch.md).
132
+
The `FetchFs2Backend` companion object contains methods to create the backend directly.
133
+
129
134
## Streaming
130
135
131
136
The fs2 backends support streaming for any instance of the `cats.effect.Effect` typeclass, such as `cats.effect.IO`. If `IO` is used then the type of supported streams is `fs2.Stream[IO, Byte]`. The streams capability is represented as `sttp.client4.fs2.Fs2Streams`.
@@ -161,4 +176,4 @@ The backend supports both regular and streaming [websockets](../../other/websock
161
176
162
177
## Server-sent events
163
178
164
-
Received data streams can be parsed to a stream of server-sent events (SSE), when using the [Monix](../monix.md) and [ZIO](../zio.md) variants - the respective documentation pages contain appropriate SSE examples.
179
+
Received data streams can be parsed to a stream of server-sent events (SSE), when using the [Monix](../monix.md), [ZIO](../zio.md), or [Fs2](../fs2.md) variants - the respective documentation pages contain appropriate SSE examples.
0 commit comments