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

Copyright(c) 2013-2014 Edward Blake
LicenseBSD-style
MaintainerEdward L. Blake <edwardlblake@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

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 PHPSessionClassName Source

Represents the name of a PHP class.

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.

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.