| 1 | <?php declare(strict_types=1); |
||
| 15 | class UpgradeRequired extends ClientError |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Construct a new 'Upgrade Required' exception. |
||
| 19 | * |
||
| 20 | * @param string[] $protocols A list of supported protocols the client should select from before retrying the request. |
||
| 21 | * @param string[][] $headers Additional headers associated with the exception. |
||
| 22 | */ |
||
| 23 | 5 | public function __construct(array $protocols, array $headers = []) |
|
| 32 | } |
||
| 33 |