trait
SttpBackend[F[_], -S, -WS_HANDLER[_]] extends AnyRef
Abstract Value Members
-
abstract
def
close(): F[Unit]
-
abstract
def
openWebsocket[T, WS_RESULT](request: Request[T, S], handler: WS_HANDLER[WS_RESULT]): F[WebSocketResponse[WS_RESULT]]
-
abstract
def
responseMonad: MonadError[F]
-
abstract
def
send[T](request: Request[T, S]): F[Response[T]]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
final
def
wait(): Unit
Deprecated Value Members
-
def
finalize(): Unit
The type constructor in which responses are wrapped. E.g.
Identity
for synchronous backends,Future
for asynchronous backends.The type of streams that are supported by the backend.
Nothing
, if streaming requests/responses is not supported by this backend.The type of websocket handlers, that are supported by this backend. The handler is parametrised by the value that is being returned when the websocket is established.
NothingT
, if websockets are not supported.