Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Methods

  • getCookieString(currentUrl: string, options?: CookieJar.GetCookiesOptions): Promise<string>
  • getCookieString(currentUrl: string, options: CookieJar.GetCookiesOptions, cb: ((err: null | Error, cookies: string) => void)): void
  • getCookieString(currentUrl: string, cb: ((err: null | Error, cookies: string) => void)): void
  • Parameters

    Returns Promise<string>

  • Parameters

    Returns void

  • Parameters

    • currentUrl: string
    • cb: ((err: null | Error, cookies: string) => void)
        • (err: null | Error, cookies: string): void
        • Parameters

          • err: null | Error
          • cookies: string

          Returns void

    Returns void

  • getSetCookieStrings(currentUrl: string, options?: CookieJar.GetCookiesOptions): Promise<string[]>
  • getSetCookieStrings(currentUrl: string, options: CookieJar.GetCookiesOptions, cb: ((err: null | Error, cookies: string[]) => void)): void
  • getSetCookieStrings(currentUrl: string, cb: ((err: null | Error, cookies: string[]) => void)): void
  • removeAllCookies(): Promise<void>
  • removeAllCookies(cb: ((err: null | Error) => void)): void
  • Returns Promise<void>

  • Parameters

    • cb: ((err: null | Error) => void)
        • (err: null | Error): void
        • Parameters

          Returns void

    Returns void

  • removeAllCookiesSync(): void
  • Parameters

    • string: string

    Returns CookieJar

Generated using TypeDoc