Home Reference Source
import {ServerInfo} from 'neo4j-driver-core/lib/result-summary.js'
public class | source

ServerInfo

Class for exposing server info from a result.

Constructor Summary

Public Constructor
public

constructor(serverMeta: Object, connectionInfo: Object, protocolVersion: ProtocolVersion)

Create a ServerInfo instance

Member Summary

Public Members
public

address: string

The server adress

public

agent: string

The server user agent string

public

The protocol version used by the connection

Public Constructors

public constructor(serverMeta: Object, connectionInfo: Object, protocolVersion: ProtocolVersion) source

Create a ServerInfo instance

Params:

NameTypeAttributeDescription
serverMeta Object

Object with serverMeta data

connectionInfo Object

Bolt connection info

protocolVersion ProtocolVersion

Bolt Protocol Version

Public Members

public address: string source

The server adress

public agent: string source

The server user agent string

public protocolVersion: ProtocolVersion source

The protocol version used by the connection