LBCookieStickinessPolicy.fromXml constructor

LBCookieStickinessPolicy.fromXml(
  1. XmlElement elem
)

Implementation

factory LBCookieStickinessPolicy.fromXml(_s.XmlElement elem) {
  return LBCookieStickinessPolicy(
    cookieExpirationPeriod:
        _s.extractXmlIntValue(elem, 'CookieExpirationPeriod'),
    policyName: _s.extractXmlStringValue(elem, 'PolicyName'),
  );
}