HttpResponse::setStream
(PECL pecl_http >= 0.10.0)
HttpResponse::setStream — Set stream
설명
static
bool HttpResponse::setStream
( resource $stream
)
Set the resource to be sent.
Note: 이전에 계산했거나 정의한 ETag와 Last-Modified은 다시 계산되어 적용될 수 있습니다.
인수
- stream
-
already opened stream from which the data to send will be read
반환값
성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.
참고
- HttpResponse::getData() - Get data
- HttpResponse::setData() - Set data
- HttpResponse::getFile() - Get file
- HttpResponse::setFile() - Set file
- HttpResponse::getStream() - Get Stream
There are no user contributed notes for this page.
