WebRequest

php\webserver\WebRequest

Class WebRequest

Properties


property method

string

read-only

property scheme

string

read-only

property pathInfo

string

read-only

property servletPath

string

read-only

property queryString

string

read-only

property authType

string

read-only

property url

string

read-only

property port

int

read-only

property ip

string

read-only

property cookies

array

read-only

Array of arrays [name, value, path, domain, httpOnly, secure, maxAge, comment]

Methods


__construct($parent)

protected

Parameters:
getBody()
Returns:string
getBodyStream()
Returns:php\io\Stream
getMethod()

protected

Returns:string
getPathInfo()

protected

Returns:string
getAuthType()

protected

Returns:string
getQueryString()

protected

Returns:string
getUrl()

protected

Returns:string
getScheme()

protected

Returns:string
getPort()

protected

Returns:int
getIp()

protected

Returns:string
static current
Returns:php\webserver\WebRequest