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
inspect
to
String
from
Host
Port
from
Srv
Record
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
inspect
inspect
(
)
:
string
Returns
string
to
String
to
String
(
ipv6Brackets
?:
boolean
)
:
string
Parameters
ipv6Brackets:
boolean
= false
optionally request ipv6 bracket notation required for connection strings
Returns
string
Static
from
Host
Port
from
Host
Port
(
host
:
string
, port
:
number
)
:
HostAddress
Parameters
host:
string
port:
number
Returns
HostAddress
Static
from
Srv
Record
from
Srv
Record
(
__namedParameters
:
SrvRecord
)
:
HostAddress
Parameters
__namedParameters:
SrvRecord
Returns
HostAddress
Static
from
String
from
String
(
this
:
void
, s
:
string
)
:
HostAddress
Parameters
this:
void
s:
string
Returns
HostAddress
Exports
Host
Address
constructor
host
isIPv6
port
socket
Path
inspect
to
String
from
Host
Port
from
Srv
Record
from
String
Generated using
TypeDoc
optionally request ipv6 bracket notation required for connection strings