Public Instance methods
max_redirects(n)
returns a session with the max_redirects option set to n
[show source]
# File lib/httpx/plugins/follow_redirects.rb 65 def max_redirects(n) 66 with(max_redirects: n.to_i) 67 end