NAME
Dancer2::RPCPlugin::DispatchFromConfig - Build dispatch-table from the Dancer Config
SYNOPSIS
use Dancer2::RPCPlugin::DispatchFromConfig;
sub dispatch_call {
    my $config = plugin_setting();
    my $dtb = Dancer2::RPCPlugin::DispatchFromConfig->new(
        ...
    );
    return $dtb->build_dispatch_table();
}
DESCRIPTION
$dtb->new(\%parameters)
Parameters
Named, list:
- plugin_object => $plugin
 - plugin => <xmlrpc|jsonrpc|jsonrpc>
 - config => $config_from_plugin
 - endpoint => $endpoint
 
Responses
An instantiated object.
$dtb->build_dispatch_table()
Parameters
None
Responses
A hashref of rpc-method names as key and Dancer2::RPCPlugin::DispatchItem objects as values.
COPYRIGHT
(c) MMXV - Abe Timmerman <abeltje@cpan.org>