response

sets the response type of the request

ajax response(string type);

Parameters

typestringthe response type

Returns

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