--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates a HTTPClient instance which manages sessions, cookies, etc.
- !ruby/struct:SM::Flow::P 
  body: HTTPClient.new takes 3 optional arguments for proxy url string, User-Agent String and From header String. User-Agent and From are embedded in HTTP request Header if given. No User-Agent and From header added without setting it explicitly.
- !ruby/struct:SM::Flow::VERB 
  body: "  proxy = 'http://myproxy:8080'\n  agent_name = 'MyAgent/0.1'\n  from = 'from@example.com'\n  HTTPClient.new(proxy, agent_name, from)\n"
- !ruby/struct:SM::Flow::P 
  body: You can use a keyword argument style Hash. Keys are :proxy, :agent_name and :from.
- !ruby/struct:SM::Flow::VERB 
  body: "  HTTPClient.new(:agent_name = 'MyAgent/0.1')\n"
full_name: HTTPClient::new
is_singleton: true
name: new
params: (*args)
visibility: public
