org.scalajs.dom.experimental

Body

trait Body extends Object

See body interface in whatwg Fetch spec.

see also Body in MDN

Annotations
@RawJSType() @native()
Linear Supertypes
Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Body
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def arrayBuffer(): Promise[ArrayBuffer]

    MDN: Takes a Response stream and reads it to completion.

    MDN: Takes a Response stream and reads it to completion. It returns a promise that resolves with an ArrayBuffer.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def blob(): Promise[Blob]

    Takes a Response stream and reads it to completion.

    Takes a Response stream and reads it to completion. It returns a promise that resolves with a Blob.

  9. def bodyUsed: Boolean

    MDN: Contains a Boolean that indicates whether the body has been read.

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def formData(): Promise[raw.FormData]

    Takes a Response stream and reads it to completion.

    Takes a Response stream and reads it to completion. It returns a promise that resolves with a FormData object.

  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  20. def json(): Promise[Any]

    Takes a Response stream and reads it to completion.

    Takes a Response stream and reads it to completion. It returns a promise that resolves with a JSON object. //todo: define the JSON type, and return a Promise[JSON] as per spec

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def text(): Promise[String]

    Takes a Response stream and reads it to completion.

    Takes a Response stream and reads it to completion. It returns a promise that resolves with a USVString (text).

  27. def toLocaleString(): String

    Definition Classes
    Object
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def valueOf(): Any

    Definition Classes
    Object
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped