HttpResponse::setData
HttpResponse::setFile
The HttpResponse
PHP Manual

# HttpResponse::setETag

(PECL pecl_http >= 0.10.0)

HttpResponse::setETag — Set ETag

### 설명

static bool HttpResponse::setETag ( string `$etag` )

Set a custom ETag. Use this only if you know what you're doing.

### 인수

`etag`

  unquoted string as parameter containing the ETag

### 반환값

성공할 경우 `TRUE`를, 실패할 경우 `FALSE`를 반환합니다.

### 참고

- HttpResponse::getLastModified - Get last modified
- HttpResponse::setLastModified - Set last modified
- HttpResponse::getETag - Get ETag

HttpResponse::setData
HttpResponse::setFile
The HttpResponse
PHP Manual