abstract
class
AbstractFetchBackend[F[_], S <: Streams[S], P] extends SttpBackend[F, P]
Instance Constructors
-
new
AbstractFetchBackend(options: FetchOptions, customizeRequest: (org.scalajs.dom.experimental.Request) ⇒ org.scalajs.dom.experimental.Request)(monad: MonadError[F])
Type Members
-
type
PE = P with Effect[F]
Abstract Value Members
-
abstract
def
addCancelTimeoutHook[T](result: F[T], cancel: () ⇒ Unit): F[T]
-
abstract
def
handleResponseAsStream(response: org.scalajs.dom.experimental.Response): F[(BinaryStream, () ⇒ F[Unit])]
-
abstract
def
handleStreamBody(s: BinaryStream): F[UndefOr[BodyInit]]
-
abstract
val
streams: Streams[S]
-
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
-
implicit
def
responseMonad: MonadError[F]
-
def
send[T, R >: PE](request: Request[T, R]): 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