Grabs the headers of the cURL request.
Description
Each header is sent individually to this callback, and is appended to the $header property for temporary storage.
Parameters
$handleresourcerequired- cURL handle.
$headersstringrequired- cURL request headers.
Source
private function stream_headers( $handle, $headers ) {
$this->headers .= $headers;
return strlen( $headers );
}
Changelog
| Version | Description |
|---|---|
| 3.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.