update : 2015.11.03
php.shukuma.com

검색:
 
 
Set stream

HttpResponse::setStream

(PECL pecl_http >= 0.10.0)

HttpResponse::setStreamSet stream

설명

static bool HttpResponse::setStream ( resource $stream )

Set the resource to be sent.

Note: 이전에 계산했거나 정의한 ETagLast-Modified은 다시 계산되어 적용될 수 있습니다.

인수

stream

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

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.