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. Protected

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