Method: Mechanize::HTTP::Agent#pre_connect_hooks
- Defined in:
- lib/mechanize/http/agent.rb
permalink #pre_connect_hooks ⇒ Object (readonly)
A list of hooks to call before making a request. Hooks are called with the agent and the request to be performed.
43 44 45 |
# File 'lib/mechanize/http/agent.rb', line 43 def pre_connect_hooks @pre_connect_hooks end |