NAME
Dancer2::Session::Redis::Serialization::Sereal - Dancer2::Session::Redis serialization broker for Sereal.
VERSION
version 0.008
SYNOPSIS
In your config.yml:
engines:
  session:
    Redis:
      # ...
      # Use serialization for storing values other than simple scalars with Redis:
      redis_serialization:
        # Use Sereal as serialization module:
        module: "Dancer2::Session::Redis::Serialization::Sereal"
        # Serialization module configuration:
        # (optional) Enable Google Snappy compression (default):
        snappy: 1
DESCRIPTION
This module is a serialization broker for Dancer2::Session::Redis. It will provide Dancer2::Session::Redis the ability to (de)serialize Redis values with Sereal.
METHODS
decode
Deserialize a serialized object. Returns the (not really) serealized object without doing anything to it if Sereal thinks it is not serealized.
encode
Serialize a raw object if it is a reference or undef.
SEE ALSO
AUTHOR
BURNERSK <burnersk@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2016 by BURNERSK <burnersk@cpan.org>.
This is free software, licensed under:
The MIT (X11) License