You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The input parameter of each interceptor is the original data, not the data processed by the previous interceptor
`AsyncStringResponse resp = AsyncStringResponse(
AsyncStringResponse.from(cloned._send(), sender: this, sent: cloned)
.then((StringResponse r) async {
StringResponse ret = r;
for (After func in cloned.getAfter) {
///The input parameter here should be ret,not r
var res = await func(r);
if (res is StringResponse) ret = res;
}
return ret;
}));`
The text was updated successfully, but these errors were encountered:
The input parameter of each interceptor is the original data, not the data processed by the previous interceptor
`AsyncStringResponse resp = AsyncStringResponse(
AsyncStringResponse.from(cloned._send(), sender: this, sent: cloned)
.then((StringResponse r) async {
StringResponse ret = r;
for (After func in cloned.getAfter) {
///The input parameter here should be ret,not r
var res = await func(r);
if (res is StringResponse) ret = res;
}
return ret;
}));`
The text was updated successfully, but these errors were encountered: