PHP-HTTP
latest
  • PHP-HTTP

HTTPlug

  • Introduction
  • Usage
  • Exceptions
  • Tutorial
  • Migrating
  • Clients & Adapters
  • Plugins
    • Introduction
    • Building Custom Plugins
    • Seekable Body Plugins
    • Authentication Plugin
    • Cache Plugin
    • Content-Length Plugin
    • Content-Type Plugin
    • Cookie Plugin
    • Decoder Plugin
    • Error Plugin
    • Header Plugins
    • History Plugin
    • Logger Plugin
    • Query plugin
    • Redirect Plugin
    • Request URI Manipulations
    • Retry Plugin
    • Stopwatch Plugin
    • VCR Plugin - Record and Replay Responses
  • Framework Integrations
  • Backwards compatibility

Components

  • Message
  • Client Common
  • Adapter Integration Tests
  • Promise
  • Discovery
  • Multipart Stream Builder

---------

  • Development
PHP-HTTP
  • »
  • Plugins
  • Edit on GitHub

PluginsΒΆ

The plugin system allows to wrap a Client and add some processing logic prior to and/or after sending the actual request or you can even start a completely new request. This gives you full control over what happens in your workflow.

  • Introduction
    • Install
    • How it works
    • Configuration Options
      • max_restarts: int (default 10)
      • debug_plugins: array of Plugin
    • Libraries that Require Plugins
  • Building Custom Plugins
    • Contributing Your Plugins to PHP-HTTP
  • Seekable Body Plugins
  • Authentication Plugin
  • Cache Plugin
    • Install
    • Usage
    • Options
      • Generating a cache key
      • Controlling cache listeners
      • Semantics of null values
      • Caching of different request methods
    • Cache Control Handling
  • Content-Length Plugin
  • Content-Type Plugin
    • Options
  • Cookie Plugin
  • Decoder Plugin
  • Error Plugin
  • Header Plugins
    • Default Headers Values
    • Mandatory Headers Values
    • Removing Headers
    • Appending Header Values
    • Mixing operations
  • History Plugin
  • Logger Plugin
    • Install
    • Usage
  • Query plugin
    • Default Query parameters
  • Redirect Plugin
    • Options
  • Request URI Manipulations
  • Retry Plugin
    • Async
    • Options
    • Interaction with Exceptions
  • Stopwatch Plugin
    • Install
    • Usage
  • VCR Plugin - Record and Replay Responses
    • Install
    • Usage
      • The naming strategy
      • The recorder
      • The plugins
      • Example
Previous Next

© Copyright 2015, The PHP-HTTP Team. Revision ab70f567.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
Downloads
pdf
On Read the Docs
Project Home
Builds