Help for this page

Select Code to Download


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