Search
Preparing search index...
The search index is not available
@typexs/base
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@typexs/base
index
DomainUtils
Class DomainUtils
Hierarchy
DomainUtils
Index
Constructors
constructor
Properties
HOSTS
IP_
REGEX
Methods
domain
Lookup
get
Hosts
Sync
reload
Hosts
reverse
Constructors
constructor
new
Domain
Utils
(
)
:
DomainUtils
Returns
DomainUtils
Properties
Static
HOSTS
HOSTS
:
{
host
:
string
;
ip
:
string
}
[]
= []
Static
IP_
REGEX
IP_
REGEX
:
RegExp
= ...
Methods
Static
domain
Lookup
domain
Lookup
(
domain
:
string
)
:
Promise
<
{
addr
:
string
;
family
:
number
}
>
Parameters
domain:
string
Returns
Promise
<
{
addr
:
string
;
family
:
number
}
>
Static
get
Hosts
Sync
get
Hosts
Sync
(
)
:
{
host
:
string
;
ip
:
string
}
[]
Returns
{
host
:
string
;
ip
:
string
}
[]
Static
reload
Hosts
reload
Hosts
(
)
:
void
Returns
void
Static
reverse
reverse
(
ip
:
string
, local
?:
boolean
)
:
Promise
<
string
[]
>
Parameters
ip:
string
local:
boolean
= false
Returns
Promise
<
string
[]
>
Modules
Activator
Bootstrap
Startup
index
Domain
Utils
constructor
HOSTS
IP_
REGEX
domain
Lookup
get
Hosts
Sync
reload
Hosts
reverse
Generated using
TypeDoc