View definition

(*Client).GetTimeout

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

Description

GetTimeout appends url contents to dst and returns it as body.

The function follows redirects. Use Do* for manually handling redirects.

New body buffer is allocated if dst is nil.

ErrTimeout error is returned if url contents couldn't be fetched during the given timeout.

GetTimeout is referenced in 1 repository

github.com/valyala/fasthttp