GoLang Swoole\Http\Response::cookie

request it (72)
GoLang replacement for PHP's Swoole\Http\Response::cookie [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Http\Response::cookie? Write it!

PHP Swoole\Http\Response::cookie

PHP original manual for Swoole\Http\Response::cookie [ show | php.net ]

Swoole\Http\Response::cookie

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Http\Response::cookieSet the cookies of the HTTP response.

Description

public string Swoole\Http\Response::cookie ( string $name [, string $value [, string $expires [, string $path [, string $domain [, string $secure [, string $httponly ]]]]]] )

Parameters

name

value

expires

path

domain

secure

httponly

Return Values