Help for this page

Select Code to Download


  1. or download this
    use Frontier::RPC2;
    
    my $rpc = new Frontier::RPC2;
    ...
    }
    my $responce = $rpc->serve($buffer, $methods);
    print $responce . "\n";
    
  2. or download this
    use Frontier::Client;
    my $url = "http://192.168.1.207/cgi-bin/ws.pl";
    my @args = (5, 2);
    my $client = new Frontier::Client( url => $url, debug => 0);
    print $client->call('sum', @args);