View definition

(*Response).WriteDeflate

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

Description

WriteDeflate writes response with deflated body to w.

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

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

WriteDeflate is referenced in 1 repository

github.com/valyala/fasthttp