Module Typhoeus::Response::Status
In: lib/typhoeus/response/status.rb

This module contains logic about the http status.

Methods

Public Instance methods

Return the http version.

@example Return http version.

 response.http_version

@return [ String ] The http version.

Return wether the response is modified.

@example Return if the response was modified.

 response.modified?

@return [ Boolean ] Return true if modified, false else.

Return the status message if present.

@example Return status message.

  reesponse.status_message

@return [ String ] The message.

Return wether the response is a success.

@example Return if the response was successful.

 response.success?

@return [ Boolean ] Return true if successful, false else.

Return wether the response is timed out.

@example Return if the response timed out.

 response.timed_out?

@return [ Boolean ] Return true if timed out, false else.

[Validate]