Group
Extension

Matches 1

Mojolicious-Plugin-Sessions3S ( J/JE/JETEVE/Mojolicious-Plugin-Sessions3S-0.004.tar.gz, JETEVE, 2016; MetaCPAN )
Mojolicious-Plugin-Sessions3S/lib/Mojolicious/Sessions/ThreeS/Storage/CHI.pm ( view source; MetaCPAN )
:Storage::CHI::VERSION = '0.004';
use Mojo::Base qw/Mojolicious::Sessions::ThreeS::Storage/;

use JSON;

=head1 NAME

Mojolicious::Sessions::ThreeS::Storage::CHI - An adapter to store sessions in a CH
S->new({ storage => $storage , state => ... } );

Note that you WILL have to depend on CHI and on JSON in your application to use this storage.

This distribution does not add these to the runtime dep
 43200;
has 'chi';
has 'json' => sub{
    my $json = JSON->new();
    $json->ascii( 1 );
    # Encode stuff in ascii so there is no risk
    # of bad decoding.
    return $json;
};

=head1 METHODS

=h

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.