Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CookieJar.php

function CookieJar::updateFromResponse

Updates the cookie jar from a Response object.

File

vendor/symfony/browser-kit/CookieJar.php, line 134

Class

CookieJar
CookieJar.

Namespace

Symfony\Component\BrowserKit

Code

public function updateFromResponse(Response $response, ?string $uri = null) : void {
    $this->updateFromSetCookie($response->getHeader('Set-Cookie', false), $uri);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal