hookHeader method

Method hookHeader(
  1. String key,
  2. ValueCallback<String?> getter
)

Implementation

Method hookHeader(String key, ValueCallback<String?> getter) {
  getAfter.add((r) => getter(r.headers[key]));
  return this;
}