NAME

Neo4j::Driver::Plugin::LWP - Neo4j::Driver plug-in for libwww-perl

VERSION

version 1.02

SYNOPSIS

use Neo4j::Driver::Plugin::LWP;
use Neo4j::Driver;

$driver = Neo4j::Driver->new;
$driver->plugin( Neo4j::Driver::Plugin::LWP->new );

DESCRIPTION

Neo4j::Driver::Plugin::LWP is a Neo4j::Driver::Plugin that provides an HTTP network adapter, using libwww-perl to connect to the Neo4j server via HTTP or HTTPS.

HTTPS connections require LWP::Protocol::https to be installed.

METHODS

Neo4j::Driver::Plugin::LWP implements the following method.

new

$plugin = Neo4j::Driver::Plugin::LWP->new;

Creates a new plug-in instance, which can be passed to "plugin" in Neo4j::Driver.

EVENTS

Neo4j::Driver::Plugin::LWP registers the following event handler.

http_adapter_factory

Creates a new Neo4j::Driver::Net::HTTP::LWP instance and returns it.

Neo4j::Driver::Plugin::LWP does not trigger events.

SEE ALSO

Neo4j::Driver::Net::HTTP::LWP

AUTHOR

Arne Johannessen (AJNN)

COPYRIGHT AND LICENSE

This software is Copyright (c) 2021-2024 by Arne Johannessen.

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0 or (at your option) the same terms as the Perl 5 programming language system itself.