Skip to content

Commit

Permalink
Merge pull request #2157 from softwaremill/pekko-docs-v3
Browse files Browse the repository at this point in the history
Add Pekko to supported backends
  • Loading branch information
Pask423 committed Apr 26, 2024
2 parents f6528e6 + 35ad6e6 commit 246cdba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/backends/summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Which one to choose?

* for simple exploratory requests, use the [synchronous](synchronous.md) `HttpClientSyncBackend`.
* if you have Akka in your stack, use the [Akka backend](akka.md)
* if you have Pekko in your stack, use the [Pekko backend](pekko.md)
* if you are using `Future` without Akka, use the `HttpClientFutureBackend`
* finally, if you are using a functional effect wrapper, use one of the "functional" backends, for [ZIO](zio.md), [Monix](monix.md), [Scalaz](scalaz.md), [cats-effect](catseffect.md) or [fs2](fs2.md).

Expand All @@ -30,6 +31,7 @@ Class Effect type Supported
``HttpURLConnectionBackend`` None (``Identity``) n/a no no
``TryHttpURLConnectionBackend`` ``scala.util.Try`` n/a no no
``AkkaHttpBackend`` ``scala.concurrent.Future`` ``akka.stream.scaladsl.Source[ByteString, Any]`` yes (regular & streaming) yes
``PekkoHttpBackend`` ``scala.concurrent.Future`` ``org.apache.pekko.stream.scaladsl.Source[ByteString, Any]`` yes (regular & streaming) yes
``ArmeriaFutureBackend`` ``scala.concurrent.Future`` n/a no yes
``ArmeriaScalazBackend`` ``scalaz.concurrent.Task`` n/a no yes
``ArmeriaZioBackend`` ``zio.Task`` ``zio.stream.Stream[Throwable, Byte]`` no yes
Expand Down Expand Up @@ -94,4 +96,4 @@ Finally, there are third-party backends:

* [sttp-play-ws](https://github.com/scalamania/sttp-play-ws) for "standard" play-ws (not standalone).
* [akkaMonixSttpBackend](https://github.com/fullfacing/akkaMonixSttpBackend), an Akka-based backend, but using Monix's `Task` & `Observable`.
* [be-kind-rewind](https://github.com/reibitto/be-kind-rewind), a VCR testing library for Scala
* [be-kind-rewind](https://github.com/reibitto/be-kind-rewind), a VCR testing library for Scala

0 comments on commit 246cdba

Please sign in to comment.