module Ethon::Curls::Infos
def get_info_string(option, handle)
-
(String)
- The info.
Parameters:
-
handle
(::FFI::Pointer
) -- The easy handle. -
option
(Symbol
) -- The option name.
Other tags:
- Example: Return info. -
def get_info_string(option, handle) if easy_getinfo(handle, option, string_ptr) == :ok string_ptr.read_pointer.read_string end end