Twitter future (Finagle) backend

To use, add the following dependency to your project:

"com.softwaremill.sttp.client" %% "finagle-backend" % "2.2.1"

Next you’ll need to add an implicit value:

import sttp.client.finagle.FinagleBackend
implicit val sttpBackend = 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 SttpBackendOptions, that is specifying proxy settings (proxies are not implemented in http4s, see this issue), as well as configuring the connect timeout
  • the backend does not support non-blocking streaming or websockets.