Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • parseCookies(cookies: string): Cookie[]
  • parseCookies(headers: Headers): Cookie[]
  • Parse cookies from the headers and returns Cookie object. Cookies parsed from set-cookie in the headers

    Can (and mainly) be used to parse fetch response's cookies.

    Accept input from valid cookies string or Headers

    Parameters

    • cookies: string

    Returns Cookie[]

  • Parameters

    • headers: Headers

    Returns Cookie[]

Generated using TypeDoc