http-status-in-range:PHP函数检查http状态是否在范围内

时间:2021-05-09 13:18:30
【文件属性】:
文件名称:http-status-in-range:PHP函数检查http状态是否在范围内
文件大小:1KB
文件格式:ZIP
更新时间:2021-05-09 13:18:30
PHP HTTP状态范围检查器 composer require frankdejonge/http-status-in-range <?php use function FrankDeJonge \ HttpStatusRange \http_status_in_range; use function FrankDeJonge \ HttpStatusRange \http_status_not_in_range; use const FrankDeJonge \ HttpStatusRange \ HTTP_SUCCESS ; $ response = $ httpClient -> get ( '/something' ); if ( http_status_in_range ( $ response -> getStatusCode (), HTTP_SUCCESS )) { /
【文件预览】:
http-status-in-range-master
----src()
--------functions.php(429B)
----composer.json(481B)

网友评论