View definition

(*Response).WriteGzip

Defined in github.com/valyala/fasthttp/http.go

Description

WriteGzip writes response with gzipped body to w.

The method gzips response body and sets 'Content-Encoding: gzip' header before writing response to w.

WriteGzip doesn't flush response to w for performance reasons.

WriteGzip is referenced in 1 repository

github.com/valyala/fasthttp