protected function Response::isSuccessful in RESTful 7.2
Is response successful?
Return value
bool
File
- src/
Http/ Response.php, line 193 - Contains \Drupal\restful\Http\Response.
Class
Namespace
Drupal\restful\HttpCode
protected function isSuccessful() {
return $this->statusCode >= 200 && $this->statusCode < 300;
}