AnonXMLHttpRequest
extends
XMLHttpRequest
in
AnonXMLHttpRequest
Tags
Table of Contents
Constants
- DONE : mixed = 4
- HEADERS_RECEIVED : mixed = 2
- LOADING : mixed = 3
- OPENED : mixed = 1
- UNSENT : mixed = 0
Methods
- abort() : void
- addEventListener() : void
- dispatchEvent() : bool
- getAllResponseHeaders() : string
- getResponseHeader() : string|null
- open() : void
- overrideMimeType() : void
- removeEventListener() : void
- send() : void
- setRequestHeader() : void
Constants
DONE
public
mixed
DONE
= 4
HEADERS_RECEIVED
public
mixed
HEADERS_RECEIVED
= 2
LOADING
public
mixed
LOADING
= 3
OPENED
public
mixed
OPENED
= 1
UNSENT
public
mixed
UNSENT
= 0
Methods
abort()
public
abort() : void
addEventListener()
public
addEventListener(string $type, callable $listener, bool $useCapture) : void
Parameters
- $type : string
- $listener : callable
- $useCapture : bool
dispatchEvent()
public
dispatchEvent(Event $evt) : bool
Parameters
- $evt : Event
Return values
boolgetAllResponseHeaders()
public
getAllResponseHeaders() : string
Return values
stringgetResponseHeader()
public
getResponseHeader(string $header) : string|null
Parameters
- $header : string
Return values
string|nullopen()
public
open(string $method, string $url[, bool|null $async = null ][, string|null $username = null ][, string|null $password = null ]) : void
Parameters
- $method : string
- $url : string
- $async : bool|null = null
- $username : string|null = null
- $password : string|null = null
overrideMimeType()
public
overrideMimeType(string $mime) : void
Parameters
- $mime : string
removeEventListener()
public
removeEventListener(string $type, callable $listener, bool $useCapture) : void
Parameters
- $type : string
- $listener : callable
- $useCapture : bool
send()
public
send([object|Blob|DOMDocument|string|FormData|null $data = null ]) : void
Parameters
setRequestHeader()
public
setRequestHeader(string $header, string $value) : void
Parameters
- $header : string
- $value : string