MaxRedirects returns the maximum number of redirects configured for the Request.
()
| 601 | |
| 602 | // MaxRedirects returns the maximum number of redirects configured for the Request. |
| 603 | func (r *Request) MaxRedirects() int { |
| 604 | return r.maxRedirects |
| 605 | } |
| 606 | |
| 607 | // SetMaxRedirects sets the maximum number of redirects, overriding any previously set value. |
| 608 | func (r *Request) SetMaxRedirects(count int) *Request { |
no outgoing calls