GC_Http_Curl::stream_headers()
最后更新于:2021-12-01 11:13:02
GC_( resource$handle, string$headers)Grabs the headers of the cURL request.
参数
- $handle
-
(resource) (Required) cURL handle.
- $headers
-
(string) (Required) cURL request headers.
响应
(int) Length of the request headers.
源文件
文件: gc-includes/class-gc-http-curl.php
private function stream_headers( $handle, $headers ) {
$this->headers .= $headers;
return strlen( $headers );
}