NAME
Dancer::RPCPlugin::DispatchFromConfig - Build dispatch-table from the Dancer Config
SYNOPSIS
use Dancer::Plugin;
use Dancer::RPCPlugin::DispatchFromConfig;
sub dispatch_call {
my $config = plugin_setting();
return dispatch_table_from_config($config);
}
DESCRIPTION
dispatch_table_from_config(%arguments)
Parameters
Named:
- plugin => <xmlrpc|jsonrpc|restrpc>
- config => $config_from_plugin
- endpoint => '/endpoint_for_dispatch_table'
Responses
A (partial) dispatch-table.
COPYRIGHT
(c) MMXV - Abe Timmerman <abeltje@cpan.org>