Definition at line 59 of file grima-util.php.
◆ capture()
| HeaderCapture::capture |
( |
|
$curl, |
|
|
|
$line |
|
) |
|
|
Definition at line 62 of file grima-util.php.
References $key.
65 if (! preg_match(
'/: /',$line)) {
66 $this->headers[] = $line;
67 $this->rawHeaders[] = $line;
69 list(
$key, $val ) = explode(
': ', $line, 2 );
70 $this->headers[strtolower(
$key)] = $val;
71 $this->rawHeaders[] = $line;
◆ $headers
| HeaderCapture::$headers = array() |
◆ $rawHeaders
| HeaderCapture::$rawHeaders = array() |
The documentation for this class was generated from the following file: