TaAjaxOptions(url: String? = null, preprocessQuery: ((String) -> dynamic)? = null, preprocessData: ((dynamic) -> Array<String>)? = null, beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> dynamic)? = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, processData: Boolean = true)
preprocessQuery
- a function to process query string for sending
preprocessData
- a function to process received data
beforeSend
- JQuery ajax.beforeSend option
httpType
- JQuery ajax.type option
dataType
- JQuery ajax.dataType option
processData
- JQuery ajax.processData option
Constructor