flackle-selfbot - v0.2.0
    Preparing search index...

    Class CookieJar

    A tiny cookie jar. Flackle authenticates with HttpOnly cookies, so a plain fetch wrapper is not enough: we have to capture set-cookie ourselves and replay the header.

    Index
    • Parameters

      • name: string

      Returns string | undefined

    • Serialises the jar into a Cookie: header value.

      Returns string

    • Reads every set-cookie header from a response into the jar.

      Parameters

      • response: Response

      Returns void