module Ethon::Easy::Features

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