JSON-RPC-Simple

 view release on metacpan or  search on metacpan

lib/JSON/RPC/Simple/Dispatcher.pm  view on Meta::CPAN

arguments:

=over 4

=item json

The encoder/decoder object to use. Defaults to L<JSON> with utf8 on.

=item charset

The charset to send in the content-type when creating the response. Defaults 
to C<utf-8>.

=item error_handler 

A reference to a subroutine which is invoked when an error occurs. May 
optionally return an object which will be sent as the 'error' member of the 
result. When called it is passed the request object, the error code, error 
message, the call ID and target object if any.

=back



( run in 0.971 second using v1.01-cache-2.11-cpan-d7f47b0818f )