Net::STF::ClientSTF Client | |
Download |
Net::STF::Client Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Daisuke Maki
- Publisher web site:
- http://search.cpan.org/~dmaki/
Net::STF::Client Tags
Net::STF::Client Description
Net::STF::Client is a Perl module that implements the STF protocol to talk to STF servers.SYNOPSIS use Net::STF::Client; my $client = Net::STF::Client->new( url => "http://stf.example.com", repl_count => 3, ); # If you want to use Basic Auth: # my $client = Net::STF::Client->new( # ... other params ... # username => ...., # password => ...., # ); # direct CRUD from the client (fastest if you have the URL) $object = $client->put_object( $url, $content, \%opts ); $object = $client->get_object( $url, \%opts ); $bool = $client->delete_object( $url, \%opts ); $bool = $client->delete_bucket( $url, \%opts ); # bucket-oriented interface my $bucket = $client->create_bucket( $bucket_name ); $object = $bucket->put_object( $key, $content, \%opts ); $object = $bucket->get_object( $key, \%opts ); $bool = $bucket->del_object( $key, \%opts ); $bool = $bucket->delete( $recursive ); # object data $object->url; $object->key; $object->content;Product's homepage
Net::STF::Client Related Software