module Ethon::Curls::Infos

def get_info_long(option, handle)

Returns:
  • (Integer) - The info.

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

Other tags:
    Example: Return info. -
def get_info_long(option, handle)
  if easy_getinfo(handle, option, long_ptr) == :ok
    long_ptr.read_long
  end
end