WordPress\AiClientDependencies\Psr\Http\Message

ServerRequestInterface::getServerParamspublicWP 1.0

Retrieve server parameters.

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

Method of the class: ServerRequestInterface{}

No Hooks.

Returns

Array.

Usage

$ServerRequestInterface = new ServerRequestInterface();
$ServerRequestInterface->getServerParams(): array;

ServerRequestInterface::getServerParams() code WP 7.0

public function getServerParams(): array;