Method: Mechanize::HTTP::Agent#pre_connect_hooks

Defined in:
lib/mechanize/http/agent.rb

#pre_connect_hooksObject (readonly)

A list of hooks to call before making a request. Hooks are called with the agent and the request to be performed.

[View source]

43
44
45
# File 'lib/mechanize/http/agent.rb', line 43

def pre_connect_hooks
  @pre_connect_hooks
end