response of ajax, Methods Webix Docs
sets the response type of the request
ajax response(string type);
type
| ajax | the ajax object |
Example
webix.ajax().response("blob").get("patch.zip", function(text, data){
// data - is a data blob
});
Details
Possible values of the parameter are:
- "blob" - blob (binary data object)
- "arraybuffer" - the ArrayBuffer object (binary data object)
- "document" - web page object
See also
Articles