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: number)

Create a ServerInfo instance

Member Summary

Public Members
public

address: string

The server adress

public

agent: string

The server user agent string

public

protocolVersion: number

The protocol version used by the connection

Public Constructors

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

Create a ServerInfo instance

Params:

NameTypeAttributeDescription
serverMeta Object

Object with serverMeta data

connectionInfo Object

Bolt connection info

protocolVersion number

Bolt Protocol Version

Public Members

public address: string source

The server adress

public agent: string source

The server user agent string

public protocolVersion: number source

The protocol version used by the connection