Packages

t

org.scalajs.dom

RequestInit

trait RequestInit extends Object

See RequestInit in Fetch API The underlying object is a dictionary. This trait is here to help encode the types.

Annotations
@JSType()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RequestInit
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val body: UndefOr[BodyInit]
    Annotations
    @JSOptional()
  6. val cache: UndefOr[RequestCache]
    Annotations
    @JSOptional()
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. val credentials: UndefOr[RequestCredentials]
    Annotations
    @JSOptional()
  9. val duplex: UndefOr[RequestDuplex]

    "half" is the only valid value and it is for initiating a half-duplex fetch (i.e., the user agent sends the entire request before processing the response).

    "half" is the only valid value and it is for initiating a half-duplex fetch (i.e., the user agent sends the entire request before processing the response).

    Annotations
    @JSOptional()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. val headers: UndefOr[HeadersInit]
    Annotations
    @JSOptional()
  17. val integrity: UndefOr[String]
    Annotations
    @JSOptional()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  20. val keepalive: UndefOr[Boolean]
    Annotations
    @JSOptional()
  21. val method: UndefOr[HttpMethod]
    Annotations
    @JSOptional()
  22. val mode: UndefOr[RequestMode]
    Annotations
    @JSOptional()
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  27. val redirect: UndefOr[RequestRedirect]
    Annotations
    @JSOptional()
  28. val referrer: UndefOr[String]
    Annotations
    @JSOptional()
  29. val referrerPolicy: UndefOr[ReferrerPolicy]
    Annotations
    @JSOptional()
  30. val signal: UndefOr[AbortSignal]
    Annotations
    @JSOptional()
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toLocaleString(): String
    Definition Classes
    Object
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. def valueOf(): Any
    Definition Classes
    Object
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. val window: UndefOr[Null]

    The whatwg spec section on RequestInit dictionary has a comment that states that this value "can only be set to null".

    The whatwg spec section on RequestInit dictionary has a comment that states that this value "can only be set to null". In the detailed steps section for the Request(input,init) constructor it says even more clearly: "If init's window member is present and it is not null, throw a TypeError."

    Annotations
    @JSOptional()

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped