Cell API
Docs
GitHub
Preparing search index...
@celljs/rpc
node
HttpChannelStrategy
Class HttpChannelStrategy
Implements
ChannelStrategy
Index
Constructors
constructor
Methods
consume
Message
create
Channel
get
Messages
handle
Message
support
Constructors
constructor
new
HttpChannelStrategy
()
:
HttpChannelStrategy
Returns
HttpChannelStrategy
Methods
Protected
consume
Message
consumeMessage
(
message
:
string
)
:
boolean
Parameters
message
:
string
Returns
boolean
create
Channel
createChannel
(
id
:
number
)
:
Promise
<
Channel
>
Parameters
id
:
number
Returns
Promise
<
Channel
>
get
Messages
getMessages
()
:
Promise
<
Channel
.
Message
[]
>
Returns
Promise
<
Channel
.
Message
[]
>
handle
Message
handleMessage
(
message
:
string
)
:
Promise
<
void
>
Parameters
message
:
string
Returns
Promise
<
void
>
support
support
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
consume
Message
create
Channel
get
Messages
handle
Message
support
Docs
GitHub
Cell API
Loading...