[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/guzzlehttp/guzzle/src/Message/ -> AppliesHeadersInterface.php (source)

   1  <?php
   2  namespace GuzzleHttp\Message;
   3  
   4  /**
   5   * Applies headers to a request.
   6   *
   7   * This interface can be used with Guzzle streams to apply body specific
   8   * headers to a request during the PREPARE_REQUEST priority of the before event
   9   *
  10   * NOTE: a body that implements this interface will prevent a default
  11   * content-type from being added to a request during the before event. If you
  12   * want a default content-type to be added, then it will need to be done
  13   * manually (e.g., using {@see GuzzleHttp\Mimetypes}).
  14   */
  15  interface AppliesHeadersInterface
  16  {
  17      /**
  18       * Apply headers to a request appropriate for the current state of the
  19       * object.
  20       *
  21       * @param RequestInterface $request Request
  22       */
  23      public function applyRequestHeaders(RequestInterface $request);
  24  }


Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1