[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/php-ai-client/third-party/Psr/Http/Client/ -> NetworkExceptionInterface.php (source)

   1  <?php
   2  
   3  namespace WordPress\AiClientDependencies\Psr\Http\Client;
   4  
   5  use WordPress\AiClientDependencies\Psr\Http\Message\RequestInterface;
   6  /**
   7   * Thrown when the request cannot be completed because of network issues.
   8   *
   9   * There is no response object as this exception is thrown when no response has been received.
  10   *
  11   * Example: the target host name can not be resolved or the connection failed.
  12   */
  13  interface NetworkExceptionInterface extends ClientExceptionInterface
  14  {
  15      /**
  16       * Returns the request.
  17       *
  18       * The request object MAY be a different object from the one passed to ClientInterface::sendRequest()
  19       *
  20       * @return RequestInterface
  21       */
  22      public function getRequest(): RequestInterface;
  23  }


Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref