diff options
author | adamw <adam@warski.org> | 2018-03-17 10:43:28 -0500 |
---|---|---|
committer | adamw <adam@warski.org> | 2018-03-17 10:43:34 -0500 |
commit | 27f2822ba560d6a897b2425d14210e761c32a911 (patch) | |
tree | 8b8757609e1bc1ebd1993f11ae4cfb0e83f10695 | |
parent | 57a82b7c685e10b4844764e9fd62f2d12874ac21 (diff) | |
download | sttp-27f2822ba560d6a897b2425d14210e761c32a911.tar.gz sttp-27f2822ba560d6a897b2425d14210e761c32a911.tar.bz2 sttp-27f2822ba560d6a897b2425d14210e761c32a911.zip |
Akka backend docs
-rw-r--r-- | docs/backends/akkahttp.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/backends/akkahttp.rst b/docs/backends/akkahttp.rst index 52a2f89..006bfa5 100644 --- a/docs/backends/akkahttp.rst +++ b/docs/backends/akkahttp.rst @@ -9,6 +9,10 @@ To use, add the following dependency to your project:: This backend depends on `akka-http <http://doc.akka.io/docs/akka-http/current/scala/http/>`_. A fully **asynchronous** backend. Sending a request returns a response wrapped in a ``Future``. +Note that you'll also need an explicit dependency on akka-streams, as akka-http doesn't depend on any specific akka-streams version. So you'll also need to add, for example:: + + "com.typesafe.akka" %% "akka-stream" % "2.5.11" + Next you'll need to add an implicit value:: implicit val sttpBackend = AkkaHttpBackend() |