PHP 5.6.0beta1 released

HttpResponse::setStream

(PECL pecl_http >= 0.10.0)

HttpResponse::setStreamSet stream

Descrizione

static bool HttpResponse::setStream ( resource $stream )

Set the resource to be sent.

Nota: ETag e Last-Modified precedentemente calcolati o definiti saranno ricalcolati e ridefiniti.

Elenco dei parametri

stream

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

Valori restituiti

Restituisce TRUE in caso di successo, FALSE in caso di fallimento.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top