Private Access Private Access
This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Summery Summery
Grabs the headers of the cURL request.
Syntax Syntax
Description Description
Each header is sent individually to this callback, so we append to the $header
property for temporary storage
Parameters Parameters
- $handle
-
(Required) cURL handle.
- $headers
-
(Required) cURL request headers.
Return Return
(int) Length of the request headers.
Source Source
File: wp-includes/class-wp-http-curl.php
private function stream_headers( $handle, $headers ) { $this->headers .= $headers; return strlen( $headers ); }
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |