The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DiaColloDB::Client::http - diachronic collocation db: client: remote http server

DESCRIPTION

DiaColloDB::Client::http is a subclass of DiaColloDB::Client for accessing a remote DiaColloDB database via an http:// URL. It supports the DiaColloDB::Client API by sending HTTP GET requests to the remote server residing at the given URL. by calling the underlying DiaColloDB methods on its db object key.

new() options and object structure:

 ##-- DiaColloDB::Client: options
 url  => $url,           ##-- remote url
 ##
 ##-- DiaColloDB::Client::http: options
 user => $user,          ##-- for LWP::UserAgent basic authentication
 password => $password,  ##-- for LWP::UserAgent basic authentication
 logRequest => $log,     ##-- log-level for HTTP requests (default:'debug')
 ##
 ##-- DiaColloDB::Client::http: guts
 ua   => $ua,            ##-- underlying LWP::UserAgent

Local options to the DiaColloDB::Client::http object can be passed as URL-encoded parameters in query part of the argument URL.

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2015-2020 by Bryan Jurish

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.

SEE ALSO

DiaColloDB::Client(3pm), DiaColloDB(3pm), perl(1), ...