Interface Http\Client\Common\Plugin

A plugin is a middleware to transform the request and/or the response.

The plugin can:

  • break the chain and return a response
  • dispatch the request to the next middleware
  • restart the request
Methods