NAME
Neo4j::Driver::ServerInfo - Provides Neo4j server address and version
VERSION
version 0.18
SYNOPSIS
use Neo4j::Driver;
$session = Neo4j::Driver->new->basic_auth(...)->session;
$host_port = $session->server->address;
$version_string = $session->server->version;
say "Contacting $version_string at $host_port.";
DESCRIPTION
Provides some basic information of the server where the result is obtained from.
METHODS
Neo4j::Driver::ServerInfo implements the following methods.
address
$host_port = $session->server->address;
Returns the host name and port number of the server. Takes the form of an URL authority string (for example: localhost:7474
).
version
$version_string = $session->server->version;
Returns the product name and version number. Takes the form of a server agent string (for example: Neo4j/3.5.17
).
SEE ALSO
Equivalent documentation for the official Neo4j drivers: ServerInfo (Java), IServerInfo (.NET), ServerInfo (Python)
AUTHOR
Arne Johannessen <ajnn@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2016-2020 by Arne Johannessen.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)