response

sets the response type of the request

ajax response(string type);
typestringthe response type
ajaxthe 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
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.