- or download this
#!/usr/bin/perl
#--------------------------
...
}
1;
- or download this
#!/usr/bin/perl
...
# a la XMLRPC::Lite
JSONRPC::Transport::HTTP::CGI->dispatch_to('MyApp')->handle();
- or download this
#!/usr/bin/perl
...
->dispatch_to('MyApp/Test');
$daemon->handle();
- or download this
#!/usr/bin/perl
...
my $client = JSONRPC::Transport::HTTP->proxy($uri);
print $client->echo('This is test.'); # the alias, _echo is same.
- or download this
[root@localhost ~]# client.pl
64
...
No such a method.
64
0
- or download this
[root@localhost ~]# server.pl
[root@localhost ~]# server.pl
...
Content-Type: text/plain; charset=UTF-8