Swoole Coroutine FastCGI Proxy

Version: Swoole: 4.5.0+

Swoole Coroutine FastCGI Proxy can be used to communicate with FastCGI servers like PHP-FPM.

Available Methods

  • Swoole\Coroutine\FastCGI\Proxy::__construct
  • Swoole\Coroutine\FastCGI\Proxy->withTimeout
  • Swoole\Coroutine\FastCGI\Proxy->withHttps
  • Swoole\Coroutine\FastCGI\Proxy->withIndex
  • Swoole\Coroutine\FastCGI\Proxy->getParam
  • Swoole\Coroutine\FastCGI\Proxy->withParam
  • Swoole\Coroutine\FastCGI\Proxy->withoutParam
  • Swoole\Coroutine\FastCGI\Proxy->getParams
  • Swoole\Coroutine\FastCGI\Proxy->withParams
  • Swoole\Coroutine\FastCGI\Proxy->withAddedParams
  • Swoole\Coroutine\FastCGI\Proxy->withStaticFileFilter
  • Swoole\Coroutine\FastCGI\Proxy->translateRequest
  • Swoole\Coroutine\FastCGI\Proxy->translateResponse
  • Swoole\Coroutine\FastCGI\Proxy->pass
  • Swoole\Coroutine\FastCGI\Proxy->staticFileFiltrate

HTTP to FastCGI Proxy

This proxy pass functionality is commonly used to communicate between HTTP servers and backend PHP-FPM applications like WordPress. For a full FastCGI Swoole HTTP Server example checkout the WordPress Proxy Pass Example.