On my app, I need to make some ajax calls and I am trying to use jQuery for it.
The way to do it would be by passing an object of type JQueryAjaxSettings to jQuery.ajax(url: String, settings: JQueryAjaxSettings). But I could not find a way to instantiate such an object.
I have tried to inherit the class with an object, a simple class, but none of these will work.
What's the way to go on this?