Class Cookie

Represents a cookie object.

Constructors

Methods

  • Converts an ICookie object into a cookie string.

    Parameters

    • cookie: ICookie

      The ICookie object to convert.

    Returns string

    A string representing the cookie.

    If the ltuidV2 or ltokenV2 key is missing in the ICookie object.

  • Parses a cookie string and returns a parsed ICookie object.

    Parameters

    • cookieString: string

      The cookie string to be parsed.

    Returns ICookie

    • A parsed ICookie object.

    when ltuid or ltoken keys are not found in the cookie string.