WebRequest¶
-
php\webserver\WebRequest Class WebRequest
Properties
- property
method¶
stringread-only
- property
scheme¶
stringread-only
- property
pathInfo¶
stringread-only
- property
servletPath¶
stringread-only
- property
queryString¶
stringread-only
- property
authType¶
stringread-only
- property
url¶
stringread-only
- property
port¶
intread-only
- property
ip¶
stringread-only
arrayread-only
Array of arrays [name, value, path, domain, httpOnly, secure, maxAge, comment]
Methods
__construct($parent)¶protected
Параметры:
- $parent – php\webserver\WebRequest
getBody()¶
Результат: string
getBodyStream()¶
Результат: php\io\Stream
getMethod()¶protected
Результат: string
getPathInfo()¶protected
Результат: string
getAuthType()¶protected
Результат: string
getQueryString()¶protected
Результат: string
getUrl()¶protected
Результат: string
getScheme()¶protected
Результат: string
getPort()¶protected
Результат: int
getIp()¶protected
Результат: string
- static
current¶
Результат: php\webserver\WebRequest