View definition

func AcquireResponse

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

Description

AcquireResponse returns an empty Response instance from response pool.

The returned Response instance may be passed to ReleaseResponse when it is no longer needed. This allows Response recycling, reduces GC pressure and usually improves performance.

AcquireResponse is referenced in 8 repositories

github.com/valyala/fasthttp github.com/influxdata/influxdb-comparisons github.com/Nyarum/betting

...