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
socketPath
Methods
方法
toString
fromString
Constructors
构造函数
constructor
new HostAddress
(
hostString
:
string
)
:
HostAddress
Parameters
参数
hostString:
string
Returns
返回
HostAddress
Properties
属性
host
host
:
undefined
|
string
isIPv6
isIPv6
:
undefined
|
boolean
port
port
:
undefined
|
number
socketPath
socketPath
:
undefined
|
string
Methods
方法
toString
toString
(
ipv6Brackets
?:
boolean
)
:
string
Parameters
参数
ipv6Brackets:
boolean
= false
optionally request ipv6 bracket notation required for connection strings
Returns
返回
string
Static
fromString
fromString
(
s
:
string
)
:
HostAddress
Parameters
参数
s:
string
Returns
返回
HostAddress
Exports
HostAddress
constructor
host
isIPv6
port
socketPath
toString
fromString
Generated using
TypeDoc
optionally request ipv6 bracket notation required for connection strings