Overview

Namespaces

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

Classes

  • PHPFastCGI\FastCGIDaemon\ApplicationFactory
  • PHPFastCGI\FastCGIDaemon\CallbackWrapper
  • PHPFastCGI\FastCGIDaemon\Command\DaemonRunCommand
  • PHPFastCGI\FastCGIDaemon\Connection\StreamSocketConnection
  • PHPFastCGI\FastCGIDaemon\Connection\StreamSocketConnectionPool
  • PHPFastCGI\FastCGIDaemon\ConnectionHandler\ConnectionHandler
  • PHPFastCGI\FastCGIDaemon\ConnectionHandler\ConnectionHandlerFactory
  • PHPFastCGI\FastCGIDaemon\Daemon
  • PHPFastCGI\FastCGIDaemon\DaemonFactory
  • PHPFastCGI\FastCGIDaemon\Http\Request

Interfaces

  • PHPFastCGI\FastCGIDaemon\ApplicationFactoryInterface
  • PHPFastCGI\FastCGIDaemon\Connection\ConnectionInterface
  • PHPFastCGI\FastCGIDaemon\Connection\ConnectionPoolInterface
  • PHPFastCGI\FastCGIDaemon\ConnectionHandler\ConnectionHandlerFactoryInterface
  • PHPFastCGI\FastCGIDaemon\ConnectionHandler\ConnectionHandlerInterface
  • PHPFastCGI\FastCGIDaemon\DaemonFactoryInterface
  • PHPFastCGI\FastCGIDaemon\DaemonInterface
  • PHPFastCGI\FastCGIDaemon\Http\RequestInterface
  • PHPFastCGI\FastCGIDaemon\KernelInterface

Exceptions

  • PHPFastCGI\FastCGIDaemon\Exception\ConnectionException
  • PHPFastCGI\FastCGIDaemon\Exception\DaemonException
  • PHPFastCGI\FastCGIDaemon\Exception\ProtocolException
  • PHPFastCGI\FastCGIDaemon\Exception\ShutdownException
  • Overview
  • Namespace
  • Class
 1: <?php
 2: 
 3: namespace PHPFastCGI\FastCGIDaemon\Http;
 4: 
 5: use Psr\Http\Message\ServerRequestInterface;
 6: use Symfony\Component\HttpFoundation\Request as HttpFoundationRequest;
 7: 
 8: /**
 9:  * The RequestBuilderInterface defines a set of methods used by a FastCGIDaemon
10:  * ConnectionHandler to build PSR-7 server request objects.
11:  */
12: interface RequestInterface
13: {
14:     /**
15:      * Get the FastCGI request params
16:      *
17:      * @return array Associative array of FastCGI request params
18:      */
19:     public function getParams();
20: 
21:     /**
22:      * Returns expected contents of $_GET superglobal array
23:      * 
24:      * @return array
25:      */
26:     public function getQuery();
27: 
28:     /**
29:      * Returns expected contents of $_POST superglobal array
30:      * 
31:      * @return array
32:      */
33:     public function getPost();
34: 
35:     /**
36:      * Returns expected contents of $_COOKIES superglobal 
37:      * 
38:      * @return array
39:      */
40:     public function getCookies();
41: 
42:     /**
43:      * Get the FastCGI stdin data
44:      *
45:      * @return resource Stream resource containing FastCGI stdin data
46:      */
47:     public function getStdin();
48: 
49:     /**
50:      * Get the request as a PSR-7 server request
51:      * 
52:      * @return ServerRequestInterface The request object
53:      */
54:     public function getServerRequest();
55: 
56:     /**
57:      * Get the request as a Symfony HttpFoundation request
58:      *
59:      * @return HttpFoundationRequest The request object
60:      */
61:     public function getHttpFoundationRequest();
62: }
63: 
API documentation generated by ApiGen