Search
Preparing search index...
The search index is not available
mongodb
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
mongodb
HostAddress
Class HostAddress
Hierarchy
HostAddress
Index
Constructors
constructor
Properties
host
isIPv6
port
socket
Path
Methods
to
String
from
String
Constructors
constructor
new
Host
Address
(
hostString
:
string
)
:
HostAddress
Parameters
hostString:
string
Returns
HostAddress
Properties
host
host
:
undefined
|
string
isIPv6
isIPv6
:
undefined
|
boolean
port
port
:
undefined
|
number
socket
Path
socket
Path
:
undefined
|
string
Methods
to
String
to
String
(
ipv6Brackets
?:
boolean
)
:
string
Parameters
ipv6Brackets:
boolean
= false
optionally request ipv6 bracket notation required for connection strings
Returns
string
Static
from
String
from
String
(
s
:
string
)
:
HostAddress
Parameters
s:
string
Returns
HostAddress
Exports
Host
Address
constructor
host
isIPv6
port
socket
Path
to
String
from
String
Generated using
TypeDoc
optionally request ipv6 bracket notation required for connection strings