Hi, what timeout is that? connection timeout? read timeout ? or summation of them?
|
// set timeout s = second |
|
func (req *Request) SetTimeout(n time.Duration) { |
|
req.Client.Timeout = time.Duration(n * time.Second) |
|
} |
and if no timeout is specify, what is the default timeout?
Hi, what timeout is that? connection timeout? read timeout ? or summation of them?
requests/requests.go
Lines 230 to 233 in c839e8a
and if no timeout is specify, what is the default timeout?