Requests_Response_Headers::getValues()
最后更新于:2021-11-26 04:03:15
Requests_Response_Headers::getValues( string$key)Get all values for a given header
参数
- $key
-
(string) (Required)
响应
(array|null) Header values
源文件
文件: gc-includes/Requests/Response/Headers.php
public function getValues($key) {
$key = strtolower($key);
if (!isset($this->data[$key])) {
return null;
}
return $this->data[$key];
}