abstract
class
AbstractFetchBackend[F[_], S] extends SttpBackend[F, S, NothingT]
Instance Constructors
-
new
AbstractFetchBackend(options: FetchOptions, customizeRequest: (org.scalajs.dom.experimental.Request) ⇒ org.scalajs.dom.experimental.Request)(monad: MonadError[F])
Abstract Value Members
-
abstract
def
addCancelTimeoutHook[T](result: F[T], cancel: () ⇒ Unit): F[T]
-
abstract
def
handleResponseAsStream[T](ras: ResponseAsStream[T, S], response: org.scalajs.dom.experimental.Response): F[T]
-
abstract
def
handleStreamBody(s: S): F[UndefOr[BodyInit]]
-
abstract
def
transformPromise[T](promise: ⇒ Promise[T]): F[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
-
def
close(): F[Unit]
-
-
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
openWebsocket[T, WS_RESULT](request: Request[T, S], handler: NothingT[WS_RESULT]): F[WebSocketResponse[WS_RESULT]]
-
implicit
def
responseMonad: MonadError[F]
-
def
send[T](request: Request[T, S]): F[Response[T]]
-
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
A backend that uses the
fetch
JavaScript api.https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API