++ed by:

1 non-PAUSE user.

Satoshi Azuma
and 1 contributors

NAME

Nephia::Plugin::Cookie - Cookie manipulation for Nephia

DESCRIPTION

This plugin provides cookie manipulation feature.

SYNOPSIS

    package YourApp::Web;
    use Nephia plugins => ['Cookie'];
    app {
        my $count = cookie('count') || 0;
        $count++;
        cookie(count => $count);
        [200, [], "count = $count"];
    };

DSL

    # set cookie
    cookie($name => $value);
    
    # get cookie
    my $value = cookie($name);

Set or get specified cookie.

AUTHOR

ytnobody <ytnobody@gmail.com>