XMLHttpRequest
implements
XMLHttpRequest
Table of Contents
Interfaces
- XMLHttpRequest
Constants
-
NEWLINE
= "\n"
Properties
-
$connectTimeout
: mixed
-
$cookies
: mixed
-
$followRedirects
: mixed
-
$globalDNS
: mixed
-
$httpVersion
: mixed
-
$keepAliveActive
: mixed
-
$keepAliveInterval
: mixed
-
$keepAliveTimeout
: mixed
-
$maxRedirects
: mixed
-
$readyState
: mixed
-
$response
: mixed
-
$responseText
: mixed
-
$responseType
: mixed
-
$responseXML
: mixed
-
$status
: mixed
-
$statusText
: mixed
-
$timeout
: mixed
-
$transferTimeout
: mixed
-
$upload
: mixed
-
$useCookies
: mixed
-
$withCredentials
: mixed
-
$_env
: mixed
-
$_responseCharset
: mixed
-
$_responseType
: mixed
-
$async
: mixed
-
$cookieFile
: mixed
-
$eventListeners
: mixed
-
$method
: mixed
-
$password
: mixed
-
$requestHeaders
: mixed
-
$responseHead
: mixed
-
$responseHeaders
: mixed
-
$ssl
: mixed
-
$url
: mixed
-
$urlParam
: mixed
-
$user
: mixed
-
$utf8BOM
: mixed
Methods
-
__construct()
: mixed
-
abort()
: void
-
addEventListener()
: void
-
dispatchEvent()
: bool
-
getAllResponseHeaders()
: array<string|int, mixed>
-
getCookieFile()
: mixed
-
getRequestHeader()
: mixed
-
getResponseHeader()
: string
-
open()
: void
-
overrideMimeType()
: void
-
parseHeaderList()
: mixed
-
removeEventListener()
: void
-
send()
: void
-
setCookie()
: mixed
-
setCookieFile()
: mixed
-
setRequestHeader()
: void
-
addCookie()
: mixed
-
fireEventListener()
: mixed
NEWLINE
public
mixed
NEWLINE
= "\n"
$connectTimeout
public
mixed
$connectTimeout
= 300
$cookies
public
static mixed
$cookies
= array()
$followRedirects
public
mixed
$followRedirects
= 1
$globalDNS
public
mixed
$globalDNS
= 0
$httpVersion
public
mixed
$httpVersion
= CURL_HTTP_VERSION_1_1
$keepAliveActive
public
mixed
$keepAliveActive
= 1
$keepAliveInterval
public
mixed
$keepAliveInterval
= 10
$keepAliveTimeout
public
mixed
$keepAliveTimeout
= 10
$maxRedirects
public
mixed
$maxRedirects
= 10
$readyState
public
mixed
$readyState
= self::UNSENT
$response
public
mixed
$response
$responseText
public
mixed
$responseText
$responseType
public
mixed
$responseType
$responseXML
public
mixed
$responseXML
$status
public
mixed
$status
= 0
$statusText
public
mixed
$statusText
= ''
$timeout
public
mixed
$timeout
= 0
$transferTimeout
public
mixed
$transferTimeout
= \Slothsoft\Core\Calendar\Seconds::HOUR
$upload
public
mixed
$upload
$useCookies
public
static mixed
$useCookies
= false
$withCredentials
public
mixed
$withCredentials
$_env
protected
mixed
$_env
= ['SERVER_NAME' => 'localhost', 'SERVER_SOFTWARE' => 'PHP']
$_responseCharset
protected
mixed
$_responseCharset
= null
$_responseType
protected
mixed
$_responseType
= null
$async
protected
mixed
$async
$cookieFile
protected
mixed
$cookieFile
$eventListeners
protected
mixed
$eventListeners
$method
protected
mixed
$method
$password
protected
mixed
$password
protected
mixed
$requestHeaders
$responseHead
protected
mixed
$responseHead
protected
mixed
$responseHeaders
$ssl
protected
mixed
$ssl
$url
protected
mixed
$url
$urlParam
protected
mixed
$urlParam
$user
protected
mixed
$user
$utf8BOM
protected
mixed
$utf8BOM
__construct()
public
__construct() : mixed
abort()
public
abort() : void
addEventListener()
public
addEventListener(string $type, callable $listener[, bool $capture = false ]) : void
Parameters
-
$type
: string
-
-
$listener
: callable
-
-
$capture
: bool
= false
-
dispatchEvent()
public
dispatchEvent(mixed $event) : bool
Parameters
-
$event
: mixed
-
public
getAllResponseHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>
getCookieFile()
public
getCookieFile() : mixed
public
getRequestHeader(mixed $header) : mixed
Parameters
-
$header
: mixed
-
public
getResponseHeader(string $header) : string
Parameters
-
$header
: string
-
open()
public
open(string $method, string $url[, bool $async = true ][, string $user = null ][, string $password = null ]) : void
Parameters
-
$method
: string
-
-
$url
: string
-
-
$async
: bool
= true
-
-
$user
: string
= null
-
-
$password
: string
= null
-
overrideMimeType()
public
overrideMimeType(string $mime) : void
Parameters
-
$mime
: string
-
public
static parseHeaderList(mixed $head) : mixed
Parameters
-
$head
: mixed
-
removeEventListener()
public
removeEventListener(string $type, callable $listener[, bool $capture = false ]) : void
Parameters
-
$type
: string
-
-
$listener
: callable
-
-
$capture
: bool
= false
-
send()
public
send([mixed $data = null ]) : void
Parameters
-
$data
: mixed
= null
-
setCookie()
public
static setCookie(mixed $key, mixed $val) : mixed
Parameters
-
$key
: mixed
-
-
$val
: mixed
-
setCookieFile()
public
setCookieFile(mixed $file) : mixed
Parameters
-
$file
: mixed
-
public
setRequestHeader(string $header, string $value) : void
Parameters
-
$header
: string
-
-
$value
: string
-
addCookie()
protected
static addCookie(mixed $line) : mixed
Parameters
-
$line
: mixed
-
fireEventListener()
protected
fireEventListener(mixed $type) : mixed
Parameters
-
$type
: mixed
-