Skip to content

Instantly share code, notes, and snippets.



Created Oct 14, 2019
What would you like to do?
trait SttpBackend[F[_], -S, -WS_HANDLER[_]] {
def send[T](request: Request[T, S]): F[Response[T]]
def openWebsocket[T, WS_RESULT](
request: Request[T, S],
handler: WS_HANDLER[WS_RESULT]): F[WebSocketResponse[WS_RESULT]]
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