module Ethon::Easy::Features

def supports_asynch_dns?

Returns:
  • (Boolean) - True if supported, else false.
def supports_asynch_dns?
  !!(Curl.version_info[:features] & Curl::VERSION_ASYNCHDNS)
end

def supports_zlib?

Returns:
  • (Boolean) - True if supported, else false.

Other tags:
    Example: Return wether zlib is supported. -
def supports_zlib?
  !!(Curl.version_info[:features] & Curl::VERSION_LIBZ)
end