n before
calling these methods. I have found the JSON is a light, and efficent
serialization method. And just about every other lanaguage has a JSON
implementation readily avaiable.
Some terminolo
data => 'this is my packet'});
$heap->{server}->put($frame);
or
$message = objToJson($data);
$frame = $stomp->send({destination => 'test',
data => $message,
HEAP, ARG0];
my $frame = $stomp->ack({'message-id' => $stomp->message_id});
my $data = jsonToObj($frame->body);
handle_data($data);
$heap->{server}->put($frame);
}
=back
=hea