Preparing search index...
The search index is not available
mockttp
mockttp
PluggableAdmin
Serialization
ClientServerChannel
Class ClientServerChannel
Hierarchy
Duplex
ClientServerChannel
Index
Constructors
constructor
Properties
topic
Id
Methods
_read
_read
From
Raw
Stream
dispose
on
Request
request
Constructors
constructor
new
Client
Server
Channel
(
rawStream
,
topicId
?
)
:
ClientServerChannel
Parameters
rawStream
:
Duplex
Optional
topicId
:
string
Returns
ClientServerChannel
Properties
Readonly
topic
Id
topic
Id
:
string
Methods
_read
_read
(
)
:
void
Returns
void
_read
From
Raw
Stream
_read
From
Raw
Stream
(
rawData
)
:
void
Parameters
rawData
:
any
Returns
void
dispose
dispose
(
disposeReceived
?
)
:
void
Parameters
disposeReceived
:
boolean
= false
Returns
void
on
Request
on
Request
<
T
,
R
>
(
cb
)
:
void
Type Parameters
T
R
Parameters
cb
:
(
(
request
:
T
)
=>
MaybePromise
<
R
>
)
(
request
)
:
MaybePromise
<
R
>
Parameters
request
:
T
Returns
MaybePromise
<
R
>
Returns
void
on
Request
<
T
,
R
>
(
actionName
,
cb
)
:
void
Type Parameters
T
R
Parameters
actionName
:
string
cb
:
(
(
request
:
T
)
=>
MaybePromise
<
R
>
)
(
request
)
:
MaybePromise
<
R
>
Parameters
request
:
T
Returns
MaybePromise
<
R
>
Returns
void
request
request
<
T
,
R
>
(
data
)
:
Promise
<
R
>
Type Parameters
T
extends
{}
R
Parameters
data
:
T
Returns
Promise
<
R
>
request
<
T
,
R
>
(
action
,
data
)
:
Promise
<
R
>
Type Parameters
T
extends
{}
R
Parameters
action
:
string
data
:
T
Returns
Promise
<
R
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
topic
Id
Methods
_read
_read
From
Raw
Stream
dispose
on
Request
request
mockttp
Loading...