View definition

(*HostClient).GetDeadline

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

Description

GetDeadline 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 until the given deadline.

GetDeadline is referenced in 0 repositories