class Ethon::Easy

def escape(value)

Other tags:
    Api: - private

Returns:
  • (String) - The escaped value.

Parameters:
  • value (String) -- The value to escape.

Other tags:
    Example: Url escape. -
def escape(value)
  string_pointer = Curl.easy_escape(handle, value, value.bytesize)
  returned_string = string_pointer.read_string
  Curl.free(string_pointer)
  returned_string
end