Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
JSON::RPC::Dispatch(3)User Contributed Perl DocumentatioJSON::RPC::Dispatch(3)

NAME
       JSON::RPC::Dispatch - Dispatch JSON RPC Requests	To Handlers

SYNOPSIS
	   use JSON::RPC::Dispatch;

	   my $router =	Router::Simple->new; # or use Router::Simple::Declare
	   $router->connect( method_name => {
	       handler => $class_name_or_instance,
	       action  => $method_name_to_invoke
	   );

	   my $dispatch	= JSON::RPC::Dispatch->new(
	       router => $router
	   );

	   sub psgi_app	{
	       $dispatch->handle_psgi( $env );
	   }

DESCRIPTION
       See docs	in JSON::RPC for details

perl v5.24.1			  2017-07-02		JSON::RPC::Dispatch(3)

NAME | SYNOPSIS | DESCRIPTION

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=JSON::RPC::Dispatch&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help