module HTTPX::Plugins::FollowRedirects::InstanceMethods

  1. lib/httpx/plugins/follow_redirects.rb

Methods

Public Instance

  1. max_redirects

Public Instance methods

max_redirects (n)
[show source]
   # File lib/httpx/plugins/follow_redirects.rb
34 def max_redirects(n)
35   branch(default_options.with_max_redirects(n.to_i))
36 end