Method: Mechanize#pre_connect_hooks
- Defined in:
- lib/mechanize.rb
#pre_connect_hooks ⇒ Object
A list of hooks to call before retrieving a response. Hooks are called with the agent, the URI, the response, and the response body.
338 339 340 |
# File 'lib/mechanize.rb', line 338 def pre_connect_hooks @agent.pre_connect_hooks end |