class FetchBackend extends AbstractFetchBackend[Future, Nothing, WebSockets]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FetchBackend
- AbstractFetchBackend
- SttpBackend
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
PE = WebSockets with Effect[Future] with WebSockets
- Definition Classes
- AbstractFetchBackend
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addCancelTimeoutHook[T](result: Future[T], cancel: () ⇒ Unit): Future[T]
- Attributes
- protected
- Definition Classes
- FetchBackend → AbstractFetchBackend
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
close(): Future[Unit]
- Definition Classes
- AbstractFetchBackend → SttpBackend
-
def
compileWebSocketPipe(ws: WebSocket[Future], pipe: Nothing): Future[Unit]
- Attributes
- protected
- Definition Classes
- FetchBackend → AbstractFetchBackend
-
def
convertFromFuture: ConvertFromFuture[Future]
- Definition Classes
- FetchBackend → AbstractFetchBackend
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
handleResponseAsStream(response: org.scalajs.dom.experimental.Response): Future[Nothing]
- Attributes
- protected
- Definition Classes
- FetchBackend → AbstractFetchBackend
-
def
handleStreamBody(s: Nothing): Future[UndefOr[BodyInit]]
- Attributes
- protected
- Definition Classes
- FetchBackend → AbstractFetchBackend
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
implicit
def
responseMonad: MonadError[Future]
A monad instance for the effect type used when returning responses.
A monad instance for the effect type used when returning responses. Allows writing wrapper backends, which map/flatMap over the return value of send.
- Definition Classes
- AbstractFetchBackend → SttpBackend
-
def
send[T, R >: PE](request: Request[T, R]): Future[Response[T]]
- R
The capabilities required by the request. This must be a subset of the the capabilities supported by the backend (which always includes
Effect[F]
).
- Definition Classes
- AbstractFetchBackend → SttpBackend
-
val
streams: NoStreams
- Definition Classes
- FetchBackend → AbstractFetchBackend
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated