Help for this page

Select Code to Download


  1. or download this
    my $ssl_key_path = '/etc/pki/tls/private/ca.key';
    my $ssl_cert_path = '/etc/pki/tls/cert.pem';
    my $port = $ARGV[0];
    ...
    
    $server->dispatch({'/test' => 'myApp'});
    $server->handle();
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    };
    
    my $res = $client->call( $uri, $obj );