Skip to Content.
Sympa Menu

Documentation for Sympa

NAME

Sympa::Request - Requests for operation

SYNOPSIS

use Sympa::Request;
my $request = Sympa::Request->new($serialized, context => $list);
my $request = Sympa::Request->new(context => $list, action => 'last');

DESCRIPTION

Sympa::Request implements serializable object representing requests by users.

Methods

Context and metadata

Context and metadata given to constructor are accessible as hash elements of object. They are given by request spool. See “Context and metadata” in Sympa::Spool::Auth for details.

Attributes

These are accessible as hash elements of objects. There are attributes including:

Serialization

Sympa::Request object includes number of slots as hash items: metadata, context and attributes. Metadata including context are given by spool: See “Marshaling and unmarshaling metadata” in Sympa::Spool.

Logically, objects are stored into physical spool as serialized form and deserialized when they are fetched from spool. Attributes are encoded in X-Sympa-*: pseudo-header fields.

See also “Serialization” in Sympa::Message for example.

SEE ALSO

Sympa::Request::Collection, Sympa::Request::Handler, Sympa::Request::Message, Sympa::Spool::Auth.

HISTORY

Sympa::Request appeared on Sympa 6.2.10.

Top of Page