Class | Typhoeus::Response |
In: |
lib/typhoeus/response/informations.rb
lib/typhoeus/response/header.rb lib/typhoeus/response/status.rb lib/typhoeus/response/cacheable.rb lib/typhoeus/response.rb |
Parent: | Object |
This class represents the response.
handled_response | [W] | Set the handled response. |
mock | [W] | @api private |
options | [RW] |
The provided options, which contain all the informations about the request.
@return [ Hash ] |
request | [RW] |
Remembers the corresponding request.
@example Get request. request = Typhoeus::Request.new("www.example.com") response = request.run request == response.request #=> true @return [ Typhoeus::Request ] |
Returns the handled_response if it has been defined; otherwise, returns the response
@return [ Object ] The result of callbacks
done on the response or the original response.