src/net/http/CurlHttpResponse.php
public function writeContent($hCurl, $data) {
        $this->content .= $data;

        $obtainedLength = strlen($data);
        $this->currentContentLength += $obtainedLength;

        return $obtainedLength;
    }
public function writeContent($hCurl, $data) {
        $this->content .= $data;

        $obtainedLength = strlen($data);
        $this->currentContentLength += $obtainedLength;

        return $obtainedLength;
    }
public function writeContent ( $ hCurl , $ data ) { $ this -> content .= $ data ; $ obtainedLength = strlen ( $ data ) ; $ this -> currentContentLength += $ obtainedLength ; return $ obtainedLength ; }
Callback fuer CurlHttpClient, dem der empfangene Content des HTTP-Requests chunk-weise uebergeben wird.

@param  resource $hCurl - das CURL-Handle des aktuellen Requests
@param  string   $data  - die empfangenen Daten

@return int - Anzahl der bei diesem Methodenaufruf erhaltenen Bytes
Callback fuer CurlHttpClient dem der empfangene Content des HTTP - Requests chunk - weise uebergeben wird .