WebSource::Envelope - Container for exchanged data
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 :
data is an XML::LibXML Node
data is a string
data is a URI object
data is an HTTP::Request object
use WebSource::Envelope; ... my $env = WebSource::Envelope->new( type => $type, data => $data ... ); ...