Preparing search index...
The search index is not available
dinodns
dinodns
common
DNSServer
Interface DNSServer<PacketType>
interface
DNSServer
<
PacketType
>
{
networks
:
Network
<
PacketType
>
[]
;
default
(
req
:
DNSRequest
,
res
:
DNSResponse
,
next
:
NextFunction
)
:
void
;
handle
(
domain
:
string
,
handler
:
Handler
)
:
void
;
start
(
callback
:
(
(
)
=>
void
)
)
:
void
;
stop
(
)
:
void
;
use
(
handler
:
Handler
)
:
void
;
}
Type Parameters
PacketType
Implemented by
DefaultServer
Index
Properties
networks
Methods
default
handle
start
stop
use
Properties
networks
networks
:
Network
<
PacketType
>
[]
Methods
default
default
(
req
,
res
,
next
)
:
void
Parameters
req
:
DNSRequest
res
:
DNSResponse
next
:
NextFunction
Returns
void
handle
handle
(
domain
,
handler
)
:
void
Parameters
domain
:
string
handler
:
Handler
Returns
void
start
start
(
callback
)
:
void
Parameters
callback
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
void
stop
stop
(
)
:
void
Returns
void
use
use
(
handler
)
:
void
Parameters
handler
:
Handler
Returns
void
Settings
Member Visibility
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
networks
Methods
default
handle
start
stop
use
dinodns
Loading...