Florian Ragwitz > Data-Riak-1.9 > Data::Riak::HTTP

Download:
Data-Riak-1.9.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 1.9   Source   Latest Release: Data-Riak-2.0

NAME ^

Data::Riak::HTTP - An interface to a Riak server, using its HTTP (REST) interface

VERSION ^

version 1.9

ATTRIBUTES ^

host

The host the Riak server is on. Can be set via the environment variable DATA_RIAK_HTTP_HOST, and defaults to 127.0.0.1.

port

The port of the host that the riak server is on. Can be set via the environment variable DATA_RIAK_HTTP_PORT, and defaults to 8098.

timeout

The maximum value (in seconds) that a request can go before timing out. Can be set via the environment variable DATA_RIAK_HTTP_TIMEOUT, and defaults to 15.

user_agent

This is the instance of LWP::UserAgent we use to talk to Riak.

base_uri

The base URI for the Riak server.

METHODS ^

send ($request)

Send a Data::Riak::HTTP::Request to the server.

ACKNOWLEDGEMENTS ^

AUTHORS ^

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: