protected function Response::isInvalid in RESTful 7.2
Is response invalid?
Return value
bool
1 call to Response::isInvalid()
- Response::setStatusCode in src/
Http/ Response.php - Sets the response status code.
File
- src/
Http/ Response.php, line 202 - Contains \Drupal\restful\Http\Response.
Class
Namespace
Drupal\restful\HttpCode
protected function isInvalid() {
return $this->statusCode < 100 || $this->statusCode >= 600;
}