Docs
API
  • afterRequest

    Function

    Handler to overwrite server response.

    Example

    
    data: {
      proxy: {
        afterRequest: function(o){
    	  //o.type - hint of request.
    	  //Possible values: create/read/update/delete
    	  
    	  //o.response - server answer
    	  
    	  return o;
    	}
      }
    },
    

    Default

    
    undefined