Twitter future (Finagle) backend
To use, add the following dependency to your project:
"com.softwaremill.sttp.client4" %% "finagle-backend" % "4.0.0-RC3"
Next you’ll need to add an implicit value:
import sttp.client4.finagle.FinagleBackend
val backend = FinagleBackend()
This backend depends on finagle, and offers an asynchronous backend, which wraps results in Twitter’s Future
.
Please note that:
the backend does not support non-blocking streaming or websockets.