The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::WAMP::Role::Publisher - Publisher role for Net::WAMP

SYNOPSIS

    package MyWAMP;

    use parent qw( Net::WAMP::Role::Publisher );

    sub on_PUBLISHED { ... }

    sub on_ERROR_PUBLISH { ... }

    package main;

    my $wamp = MyWAMP->new( on_send => sub { ... } );

    $wamp->send_PUBLISH( {}, 'some.topic', \@args, \%args_kv );

DESCRIPTION

See the main Net::WAMP documentation for more background on how to use this class in your code.