Class UpgradeRequiredException
The server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol.
The server MUST send an Upgrade header field in a 426 response to indicate the required protocol(s)
- Exception
-
RuntimeException
-
DSchoenbauer\Exception\Platform\RuntimeException implements DSchoenbauer\Exception\ExceptionInterface
-
DSchoenbauer\Exception\Http\ClientError\ClientErrorException implements DSchoenbauer\Exception\Http\HttpExceptionInterface
-
DSchoenbauer\Exception\Http\ClientError\UpgradeRequiredException
Namespace: DSchoenbauer\Exception\Http\ClientError
Author: David Schoenbauer dschoenbauer@gmail.com
Since: 1.0.0
Link: Source
Located at Exception/Http/ClientError/UpgradeRequiredException.php
Author: David Schoenbauer dschoenbauer@gmail.com
Since: 1.0.0
Link: Source
Located at Exception/Http/ClientError/UpgradeRequiredException.php
public
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
$code,
$file,
$line,
$message
|