hs-php-session-0.0.9.3: PHP session and values serialization

Portabilityportable
Stabilityexperimental
MaintainerEdward L. Blake <edwardlblake@gmail.com>
Safe HaskellSafe-Inferred

Data.PHPSession.Types

Contents

Description

Types used for representing PHP data types from encoding and decoding a PHP session.

Synopsis

PHP session types

type PHPSessionVariableList = [(ByteString, PHPSessionValue)]Source

Holds the "top-level" session variables and their value contents.

data PHPSessionValue Source

PHPSessionValue Represents a PHP value, which may be a number, string, array, object, boolean, null, or references.

data PHPSessionAttr Source

PHPSessionAttr are values associated with PHPSessionValueMisc to inspect and generally re-encode the necessary information for that value.

Instances

data PHPSessionDecodingError Source

PHPSessionDecodingError are error types that can be returned if decoding did not succeed. They are returned by the Either versions of the decoding functions.