Alberto Attilio Reggiori

NAME

AMF::Connection::MessageHeader - Encapsulates a request or response protocol packet/message header.

SYNOPSIS

  # ...
  my $header = new AMF::Connection::MessageHeader;
  $header->setName( 'Foo' );
  $header->setValue( 'Bar' );
  $header->setRequired( 1 );

  # ...
  if( $header->isRequired ) {
        # 1...
  } else {
        # 2...
        };

  # ..
  my $header2 = new AMF::Connection::MessageHeader($name,$value,0);

DESCRIPTION

The AMF::Connection::MessageHeader class encapsulates a request or response protocol packet/message header.

SEE ALSO

AMF::Connection::Message

AUTHOR

Alberto Attilio Reggiori, <areggiori at cpan dot org>

COPYRIGHT AND LICENSE

Copyright (C) 2010 by Alberto Attilio Reggiori

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.