Created
October 14, 2019 08:43
-
-
Save adamw/56061c27f49c523a474c30313f64cf81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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