123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <?php
- namespace Symfony\Contracts\HttpClient;
- use Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface;
- use Symfony\Contracts\HttpClient\Exception\DecodingExceptionInterface;
- use Symfony\Contracts\HttpClient\Exception\ExceptionInterface;
- use Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface;
- use Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface;
- use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
- interface ResponseInterface
- {
-
- public function getStatusCode(): int;
-
- public function getHeaders(bool $throw = true): array;
-
- public function getContent(bool $throw = true): string;
-
- public function toArray(bool $throw = true): array;
-
- public function cancel(): void;
-
- public function getInfo(string $type = null);
- }
|