OpenSwoole\Core\Psr\ServerRequest->withCookieParams

Latest version: pecl install openswoole-22.0.0 | composer require openswoole/core:22.1.1

Declaration

<?php OpenSwoole\Core\Psr\ServerRequest->withCookieParams(array $cookies)

Parameters

cookies

Array of key/value pairs representing cookies.

Return

Description

Set specified cookies.

Last updated on September 23, 2022