UNPKG
@pushrocks/smartping
Version:
latest (1.0.8)
1.0.8
1.0.7
1.0.4
a ping utility
@pushrocks/smartping
/
dist_ts
/
smartping.classes.smartping.d.ts
6 lines
(5 loc)
•
241 B
TypeScript
View Raw
1
2
3
4
5
6
import
*
as
plugins
from
'./smartping.plugins.js'
;
export
declare
class
Smartping
{
ping
(
hostArg
:
string
,
timeoutArg
?:
number
):
Promise
<plugins.
ping
.
PingResponse
>;
pingAlive
(
hostArg
:
string
,
timeoutArg
?:
number
):
Promise
<
boolean
>; }