@resonatehq/sdk
Preparing search index...
PushMessageSource
Class PushMessageSource
Implements
HttpAdapter
Index
Constructors
constructor
Properties
anycast
unicast
Methods
init
match
on
Receive
stop
Constructors
constructor
new
PushMessageSource
(
__namedParameters
?:
{
host
?:
string
;
logger
?:
Logger
;
port
?:
number
}
,
)
:
PushMessageSource
Parameters
__namedParameters
:
{
host
?:
string
;
logger
?:
Logger
;
port
?:
number
}
= {}
Returns
PushMessageSource
Properties
anycast
anycast
:
string
unicast
unicast
:
string
Methods
init
init
()
:
Promise
<
void
>
Returns
Promise
<
void
>
match
match
(
_target
:
string
)
:
string
Parameters
_target
:
string
Returns
string
on
Receive
onReceive
(
callback
:
(
msg
:
Message
)
=>
void
)
:
void
Parameters
callback
:
(
msg
:
Message
)
=>
void
Returns
void
stop
stop
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
anycast
unicast
Methods
init
match
on
Receive
stop
@resonatehq/sdk
Loading...