You are here

public function ServerRequest::__construct in Auth0 Single Sign On 8.2

Parameters

string $method HTTP method:

string|UriInterface $uri URI:

array $headers Request headers:

string|null|resource|StreamInterface $body Request body:

string $version Protocol version:

array $serverParams Typically the $_SERVER superglobal:

Overrides Request::__construct

File

vendor/guzzlehttp/psr7/src/ServerRequest.php, line 65

Class

ServerRequest
Server-side HTTP request

Namespace

GuzzleHttp\Psr7

Code

public function __construct($method, $uri, array $headers = [], $body = null, $version = '1.1', array $serverParams = []) {
  $this->serverParams = $serverParams;
  parent::__construct($method, $uri, $headers, $body, $version);
}