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:
Name | Type | Attribute | Description |
serverMeta | Object | Object with serverMeta data |
|
connectionInfo | Object | Bolt connection info |
|
protocolVersion | number | Bolt Protocol Version |