Overview

Namespaces

  • PHPFastCGI
    • FastCGIDaemon
      • Command
      • Connection
      • ConnectionHandler
      • Exception
      • Http

Classes

  • Request

Interfaces

  • RequestInterface
  • Overview
  • Namespace
  • Class

Class Request

The default implementation of the RequestInterface

PHPFastCGI\FastCGIDaemon\Http\Request implements PHPFastCGI\FastCGIDaemon\Http\RequestInterface
Namespace: PHPFastCGI\FastCGIDaemon\Http
Located at Http/Request.php
Methods summary
public
# __construct( array $params, resource $stdin )

Constructor.

Constructor.

Parameters

$params
The FastCGI server params as an associative array
$stdin
The FastCGI stdin data as a stream resource
public array
# getParams( )

Get the FastCGI request params

Get the FastCGI request params

Returns

array
Associative array of FastCGI request params

Implementation of

PHPFastCGI\FastCGIDaemon\Http\RequestInterface::getParams()
public array
# getQuery( )

Returns expected contents of $_GET superglobal array

Returns expected contents of $_GET superglobal array

Returns

array

Implementation of

PHPFastCGI\FastCGIDaemon\Http\RequestInterface::getQuery()
public array
# getPost( )

Returns expected contents of $_POST superglobal array

Returns expected contents of $_POST superglobal array

Returns

array

Implementation of

PHPFastCGI\FastCGIDaemon\Http\RequestInterface::getPost()
public array
# getCookies( )

Returns expected contents of $_COOKIES superglobal

Returns expected contents of $_COOKIES superglobal

Returns

array

Implementation of

PHPFastCGI\FastCGIDaemon\Http\RequestInterface::getCookies()
public resource
# getStdin( )

Get the FastCGI stdin data

Get the FastCGI stdin data

Returns

resource
Stream resource containing FastCGI stdin data

Implementation of

PHPFastCGI\FastCGIDaemon\Http\RequestInterface::getStdin()
public ServerRequestInterface
# getServerRequest( )

Get the request as a PSR-7 server request

Get the request as a PSR-7 server request

Returns

ServerRequestInterface
The request object

Implementation of

PHPFastCGI\FastCGIDaemon\Http\RequestInterface::getServerRequest()
public Symfony\Component\HttpFoundation\Request
# getHttpFoundationRequest( )

Get the request as a Symfony HttpFoundation request

Get the request as a Symfony HttpFoundation request

Returns

Symfony\Component\HttpFoundation\Request
The request object

Implementation of

PHPFastCGI\FastCGIDaemon\Http\RequestInterface::getHttpFoundationRequest()
API documentation generated by ApiGen