Version 4.7.0

This commit is contained in:
Neo committed 2025-12-19 16:00:35 -08:00
1 parent 517a5e1f70
commit 8ba7d43898
1933 files changed
+65613 -11332

No files matched your search

+11
View File
@@ -278,4 +278,15 @@ class _Response
return $queryString;
}
/**
* Is this response successful ? Was the statuscode between 200 and 300
*
* @return bool
*/
public function isSuccessful(): bool
{
/* Return if we have received a 2xx response code */
return $this->httpResponseCode >= 200 && $this->httpResponseCode < 300;
}
}