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