HttpResponse::setLastModified
HttpResponse::setThrottleDelay
The HttpResponse
PHP Manual

# 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

HttpResponse::setLastModified
HttpResponse::setThrottleDelay
The HttpResponse
PHP Manual