Skip to content

Instantly share code, notes, and snippets.

@adamw
Created August 26, 2020 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamw/4d2041a29a2dc2017c51de03537c3bcf to your computer and use it in GitHub Desktop.
Save adamw/4d2041a29a2dc2017c51de03537c3bcf to your computer and use it in GitHub Desktop.
trait SttpBackend[F[_], +P] {
def send[T, R >: P with Effect[F]](request: Request[T, R]): F[Response[T]]
def close(): F[Unit]
def responseMonad: MonadError[F]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment