Update src/Httpful/Request.php
Update src/Httpful/Request.php

Added the timeout function and integrated it in to _curlPrep so that code like
         $response = \Httpful\Request::$method($uri)
        ->authenticateWith($username, $password)
        ->sendsJson()
        ->expectsHtml()
        ->body(drupal_json_encode($data))
        ->timeout(1)
        ->send();
only waits for the amount specified in the timeout function
barracudanetworks/httpful,myorb/httpful,nategood/httpful,cybercircuits/httpful,infame-io/httpful,quafzi/httpful,mojaray2k/httpful,claimsmall/httpful,proneoas/httpful,siwinski/httpful