ForwardedValues.fromXml constructor

ForwardedValues.fromXml(
  1. XmlElement elem
)

Implementation

factory ForwardedValues.fromXml(_s.XmlElement elem) {
  return ForwardedValues(
    cookies: CookiePreference.fromXml(_s.extractXmlChild(elem, 'Cookies')!),
    queryString: _s.extractXmlBoolValue(elem, 'QueryString')!,
    headers:
        _s.extractXmlChild(elem, 'Headers')?.let((e) => Headers.fromXml(e)),
    queryStringCacheKeys: _s
        .extractXmlChild(elem, 'QueryStringCacheKeys')
        ?.let((e) => QueryStringCacheKeys.fromXml(e)),
  );
}