メインコンテンツへスキップ

publicHttpCookieStore

Implements

Index

Constructors

constructor

Properties

cookies

cookies: Record<string, string> = {}

Methods

getCookieRequestHeader

  • getCookieRequestHeader(): string
  • Gets the cookie header string for the next request


    Returns string

    Formatted cookie header string

rememberCookiesFromResponseHeaders

  • rememberCookiesFromResponseHeaders(headers: Record<string, string[]>): void
  • Processes and stores cookies from response headers


    Parameters

    • headers: Record<string, string[]>

      Response headers containing Set-Cookie directives

    Returns void