phasync
ServerRequest / getServerParams

Method

ServerRequest::getServerParams

Retrieve server parameters.

Description#

public ServerRequest::getServerParams(): array

Retrieves data related to the incoming request environment, typically derived from PHP's $_SERVER superglobal. The data IS NOT REQUIRED to originate from $_SERVER.

Return values#

array