Warning: file_put_contents(): Only -1 of 64 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
HttpResponse::setLastModified HttpResponse::setThrottleDelay http PHP Manual HttpResponse::setStream (PECL pecl_http:0.10.0-1.5.5) — Set stream Descrierea static bool ( resource $stream ) the to ...
Forum und email

HttpResponse::setStream

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::setStream — Set stream

Descrierea

static bool HttpResponse::setStream ( resource $stream )

Set the resource to be sent.

Notă: ETag şi Last-Modified calculate sau definite anterior vor fi recalculate sau redefinite.

Parametri

stream

already opened stream from which the data to send will be read

Valorile întroarse

Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eşecului.