NAME

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

VERSION

version 1.2

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

  • Andrew Nelson <anelson at cpan.org>

  • Florian Ragwitz <rafl@debian.org>

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.