public function onReceive(RequestInterface $request,
                              ResponseInterface $response)
    {
        $this->coockieJar->extractCookies($request, $response);
        return $response;
    }
public function onReceive(RequestInterface $request,
                              ResponseInterface $response)
    {
        $this->coockieJar->extractCookies($request, $response);
        return $response;
    }
public function onReceive ( RequestInterface $ request , ResponseInterface $ response ) { $ this -> coockieJar -> extractCookies ( $ request , $ response ) ; return $ response ; }
Update the cookie jar with the cookie received from the server

@param RequestInterface $request Request object
@param ResponseInterface $response Response object
@return ResponseInterface Response object
Update the cookie jar with the cookie received from the server