NAME
TSVRPC::Client - TSV-RPC client library
SYNOPSIS
use TSVRPC::Client;
my $t = TSVRPC::Client->new(
    base    => 'http://localhost:1978/rpc/',
    agent   => "myagent",
    timeout => 1
);
$t->call('echo', {a => 'b'});
DESCRIPTION
The client library for TSV-RPC.
METHODS
- my $t = TSVRPC::Client->new();
 - 
Create new instance.
- base
 - 
The base TSV-RPC end point URL.
 - timeout
 - 
Timeout value for each request.
Default: 1 second
 - agent
 - 
User-Agent value.
 
 - my ($code, $body, $http_message) = $t->call($method[, \%args[, $encoding]]);
 - 
Call the $method with \%args.
$encoding: the encoding for TSVRPC call. Following methods are available.
B: Base64(Default. Because its very fast) Q: Quoted-Printable U: URI escapeReturn: $code: HTTP status code, $body: body hashref, $http_message: HTTP message.