最后更新于:2021-12-01 11:10:57
GC_( array$headers)
Sets all header values.
参数
- $headers
-
(array)
(Required)
Map of header name to header value.
源文件
文件: gc-includes/class-gc-http-response.php
public function set_headers( $headers ) {
$this->headers = $headers;
}