Skip to content

Commit

Permalink
Merge pull request #2156 from softwaremill/pekko-docs
Browse files Browse the repository at this point in the history
Added Pekko to supported backends
  • Loading branch information
Pask423 authored Apr 26, 2024
2 parents 8ae9d18 + 61bfa73 commit 0ffb48f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/backends/summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Which one to choose?

* for simple exploratory requests, use the [synchronous](synchronous.md) `DefaultSyncBackend` / `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 `DefaultFutureBackend` / `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 @@ -39,6 +40,7 @@ Class Effect type Supported
``HttpURLConnectionBackend`` None (``Identity``) ``java.io.InputStream`` (blocking) no no
``TryHttpURLConnectionBackend`` ``scala.util.Try`` ``java.io.InputStream`` (blocking) 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

0 comments on commit 0ffb48f

Please sign in to comment.