NAME

WebSource::Envelope - Container for exchanged data

DESCRIPTION

A WebSource::Enveloppe is used to encapsulate the data
going from one module to another. This alows to attach 
meta-information such as a document's base uri

For the moment these types are known :
- xmlnode
data is an XML::LibXML Node
- string
data is a string
- uri
data is a URI object
- http-request
data is an HTTP::Request object

SYNOPSIS

use WebSource::Envelope;
...
my $env = WebSource::Envelope->new(
           type => $type, 
           data => $data
           ...
     );
...

METHODS

SEE ALSO

WebSource