Other
Overview
The point of this project is to create a thin RESTful RPC layer on top of HTTP that allows remote clients to connect to a Perl back end. Rather than have verbose glue logic for setting up your connection and calling remote methods, we create a simple binding point that can be included in your application and exposes remote procedures as local methods.
Published methods become immediately available to clients. Documentation embedded in your methods is presented to clients automatically based on whether you are connecting via a browser or via code.
Example
The following is an example of an exposed method. You can copy Template.pm
, included in
the distribution, and use that as a basis for your module.
``` package MyModule::Adder; use Moose; extends 'Net::WebFunk::API';
has '_r' => (is => 'rw', isa => 'Apache2::RequestRec', required => 1);
sub add { my $self = shift; my $json = $self->f
No comment