org.danielnixon.saferdom.implicits.lib

SaferXMLHttpRequest

implicit final class SaferXMLHttpRequest extends AnyVal

See also

https://xhr.spec.whatwg.org/#interface-xmlhttprequest

Linear Supertypes
AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SaferXMLHttpRequest
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SaferXMLHttpRequest(value: raw.XMLHttpRequest)

Value Members

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

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

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

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  6. def getResponseHeader(header: String): Option[String]

    Returns the string containing the text of the specified header, or null if either the response has not yet been received or the header doesn't exist in the response.

    Returns the string containing the text of the specified header, or null if either the response has not yet been received or the header doesn't exist in the response.

    MDN

  7. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  8. def response: Option[Any]

    The response entity body according to responseType, as an ArrayBuffer, Blob, Document, JavaScript object (for "json"), or string.

    The response entity body according to responseType, as an ArrayBuffer, Blob, Document, JavaScript object (for "json"), or string. This is null if the request is not complete or was not successful.

    MDN

  9. def responseXML: Option[raw.Document]

    The response to the request as a DOM Document object, or null if the request was unsuccessful, has not yet been sent, or cannot be parsed as XML or HTML.

    The response to the request as a DOM Document object, or null if the request was unsuccessful, has not yet been sent, or cannot be parsed as XML or HTML. The response is parsed as if it were a text/xml stream. When the responseType is set to "document" and the request has been made asynchronously, the response is parsed as a text/html stream. Note: If the server doesn't apply the text/xml Content-Type header, you can use overrideMimeType()to force XMLHttpRequest to parse it as XML anyway.

    MDN

  10. def toString(): String

    Definition Classes
    Any
  11. val value: raw.XMLHttpRequest

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped