Method | Description | |
---|---|---|
__construct ( Psr\Http\Message\ServerRequestInterface $request ) | Create a new adapter for a superglobal $_SERVER-style array. | |
getHeaders ( ) | ||
getRemoteAddr ( ) |
public __construct ( Psr\Http\Message\ServerRequestInterface $request ) | ||
$request | Psr\Http\Message\ServerRequestInterface | An array in a format like PHP's $_SERVER var. |