OpenSwoole\Core\Psr\ServerRequest->withCookieParams

Latest version: pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5

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