It's a client http library and inspired by sinatra. Focus on simpler and understand easily what request will be send from the code. Notice it's super alpha quality.
get('http://www.example.com').sendRequest is not sent until calling send or response method.
res = get('http://www.example.com').response
post_form('http://www.example.com/', id: res.body['id]).responseget('http://93.184.216.34/').
header(Host: 'www.example.com').
sendget("http://www.example.com/request1").async do |res|
puts res.body
end
get("http://www.example.com/request2").async do|res|
puts res.body
endreqs = get("http://www.example.com/request0").
get("http://www.example.com/request1").
get("http://www.example.com/request2")
post_form(reqs.response(0).body['uri'],
{ "id" => reqs.response(1).body['id'],
"uri" => reqs.response(2).body['key1'] })get('http://www.example.com').response.code