0
我有一个简单的想法,试图检查NetworkInterface中的afterware
中的不同类型的错误。让我们假设我不能使用response.code为目的,所以我需要访问身体:AppoloStack NetworkInterface AfterWare
networkInterface.useAfter([{
applyAfterware({ response }, next) {
// need to access response.body here
next();
}
}]);
但它并没有提供response.body
使用,所以我喜欢应该有另一种方式来去做?