implicit final class SaferXMLHttpRequest extends AnyVal
- See also
https://xhr.spec.whatwg.org/#interface-xmlhttprequest
- Alphabetic
- By Inheritance
- SaferXMLHttpRequest
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SaferXMLHttpRequest(value: raw.XMLHttpRequest)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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
-
def
toString(): String
- Definition Classes
- Any
- val value: raw.XMLHttpRequest