Skip to main content

CookieStore

Interface for cookie storage implementations. This allows different cookie handling strategies to be used with the PHP request handler.

Implemented by

Index

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