Cookie jar class.

Hierarchy

  • CookieJar

Constructors

Properties

Methods

Constructors

Properties

storage: CookieJar = ...

Cookie storage.

Methods

  • Parameters

    • currentURL: URL

    Returns string

  • Load cookies from storage.

    Parameters

    • url: URL

    Returns Promise<null | string>

  • Store cookies.

    Parameters

    • url: URL
    • headers: string[]

    Returns Promise<void>

Generated using TypeDoc