Closed prayagupa closed 6 years ago
Nevermind, I needed async-http-client-backend-scalaz
which I could not find in the README at all but somehow mentioned in https://softwaremill.com/introducing-sttp-the-scala-http-client/
libraryDependencies += "com.softwaremill.sttp" %% "async-http-client-backend-scalaz" % "1.1.12"
Also the blog - https://softwaremill.com/introducing-sttp-the-scala-http-client/ probably needs to be updated.
from
implicit val backend = HttpURLConnectionSttpBackend()
to
implicit val backend = HttpURLConnectionBackend()
Ah, it's currently listed on http://sttp.readthedocs.io/en/latest/backends/asynchttpclient.html, but maybe it's not that obvious. Where did you look? :)
I'm trying to use scalaz backend for my sttp but could not find one. Here's my sbt
I do not see ScalazBackend in
async-http-client-handler-scalaz.jar
.I'm trying to simple scalaz backed http client example, as described in README with
HttpURLConnectionBackend