onRequest method
Implementation
void onRequest(ReqOptions options) {
if (logMap.length >= maxCount) {
logMap.remove(keys.last);
keys.removeLast();
}
var key = options.id.toString();
keys.insert(0, key);
logMap.putIfAbsent(key, () => NetOptions(reqOptions: options));
}