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