Felipe Gasper
and 1 contributors

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.