dvadf
File manager - Edit - /home/centroca/public_html/ConnectException.php.tar
Back
wp-content/plugins/wp-mail-smtp/vendor_prefixed/guzzlehttp/guzzle/src/Exception/ConnectException.php0000644 00000002524 15253106113 0035702 0 ustar 00 home/centroca/public_html/wp <?php namespace WPMailSMTP\Vendor\GuzzleHttp\Exception; use WPMailSMTP\Vendor\Psr\Http\Client\NetworkExceptionInterface; use WPMailSMTP\Vendor\Psr\Http\Message\RequestInterface; /** * Exception thrown when a connection cannot be established. */ class ConnectException extends TransferException implements NetworkExceptionInterface { /** * @var RequestInterface */ private $request; /** * @var array */ private $handlerContext; public function __construct(string $message, RequestInterface $request, ?\Throwable $previous = null, array $handlerContext = []) { parent::__construct($message, 0, $previous); $this->request = $request; $this->handlerContext = $handlerContext; } /** * Get the request that caused the exception */ public function getRequest() : RequestInterface { return $this->request; } /** * Get contextual information about the error from the underlying handler. * * The contents of this array will vary depending on which handler you are * using. It may also be just an empty array. Relying on this data will * couple you to a specific handler, but can give more debug information * when needed. */ public function getHandlerContext() : array { return $this->handlerContext; } } wp-content/plugins/wp-smushit/vendor_prefixed/guzzlehttp/guzzle/src/Exception/ConnectException.php 0000644 00000002603 15253175207 0035503 0 ustar 00 home/centroca/public_html/wp <?php namespace Smush_Vendor\GuzzleHttp\Exception; use Smush_Vendor\Psr\Http\Client\NetworkExceptionInterface; use Smush_Vendor\Psr\Http\Message\RequestInterface; /** * Exception thrown when a connection cannot be established. * * Note that no response is present for a ConnectException */ class ConnectException extends TransferException implements NetworkExceptionInterface { /** * @var RequestInterface */ private $request; /** * @var array */ private $handlerContext; public function __construct(string $message, RequestInterface $request, ?\Throwable $previous = null, array $handlerContext = []) { parent::__construct($message, 0, $previous); $this->request = $request; $this->handlerContext = $handlerContext; } /** * Get the request that caused the exception */ public function getRequest() : RequestInterface { return $this->request; } /** * Get contextual information about the error from the underlying handler. * * The contents of this array will vary depending on which handler you are * using. It may also be just an empty array. Relying on this data will * couple you to a specific handler, but can give more debug information * when needed. */ public function getHandlerContext() : array { return $this->handlerContext; } }
dvadf
dvadf
| ver. 1.4 |
Github
|
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings