| Mvalve documentation | view source | Contained in the Mvalve distribution. |
Mvalve::Message - A Message Object
use Mvalve::Message;
my $message = Mvalve::Message->new(
headers => {
from => 'me',
to => 'you',
},
content => {
random => 'content',
}
);
my $serialized = $message->serialize;
my $materialized = Mvalve::Message->deserialize($serialized);
Custom BUILD() for Moose
Returns the serializer object to use
Serializes the message
Deserializes a packed structure to a message
| Mvalve documentation | view source | Contained in the Mvalve distribution. |