logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

DIME::Message - this class implements a DIME message

Author

       Domingo Alcazar Larrea, <dalcazar@cpan.org>

Description

       DIME::Message is a collection of DIME::Payloads. To get a valid Message object, you can generate one
       adding different DIME::Payloads objects, or use DIME::Parser class to parse an existing DIME message.

Name

       DIME::Message - this class implements a DIME message

Synopsis

         use DIME::Message;
         use DIME::Payload;

         my $payload = DIME::Payload->new;
         $payload->attach(Path => '/mydata/content.txt');

         $message->add_payload($payload);

         my $ref_dime_message = $message->print_data();
         print $$ref_dime_message;

See Also