HttpResponse::setFile
HttpResponse::setHeader
The HttpResponse
PHP Manual

# HttpResponse::setGzip

(PECL pecl_http >= 0.10.0)

HttpResponse::setGzip — Set gzip

### 설명

static bool HttpResponse::setGzip ( bool `$gzip` )

Enable on-thy-fly gzip'ing of the sent entity.

### 인수

`gzip`

  whether GZip compression should be enabled

### 반환값

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

### 참고

- HttpResponse::getGzip - Get gzip

HttpResponse::setFile
HttpResponse::setHeader
The HttpResponse
PHP Manual