module Ethon::Curl

def get_info_double(option, handle)

Returns:
  • (Float) - The info.

Parameters:
  • handle (::FFI::Pointer) -- The easy handle.
  • option (Symbol) -- The option name.

Other tags:
    Example: Return info. -
def get_info_double(option, handle)
  if easy_getinfo(handle, option, double_ptr) == :ok
    double_ptr.read_double
  else nil
  end
end