Preparing search index...
The search index is not available
@deltachat/jsonrpc-client
@deltachat/jsonrpc-client
StdioTransport
Class StdioTransport
Hierarchy
BaseTransport
StdioTransport
Index
Constructors
constructor
Properties
e
input
output
Methods
_onmessage
_send
close
emit
notification
off
on
once
request
Constructors
constructor
new
Stdio
Transport
(
input
:
any
, output
:
any
)
:
StdioTransport
Parameters
input:
any
output:
any
Returns
StdioTransport
Properties
e
e
:
Map
<
"request"
,
EventData
[]
>
input
input
:
any
output
output
:
any
Methods
Protected
_onmessage
_onmessage
(
message
:
yerpc
.
Message
)
:
void
Parameters
message:
yerpc
.
Message
Returns
void
_send
_send
(
message
:
any
)
:
void
Parameters
message:
any
Returns
void
close
close
(
)
:
void
Returns
void
emit
emit
<
E
>
(
event
:
string
|
E
,
...
args
:
any
[]
|
Arguments
<
{
request
:
(
(
request
:
yerpc
.
Request
)
=>
void
)
;
}
[
E
]
>
)
:
undefined
|
StdioTransport
Type Parameters
E
extends
"request"
Parameters
event:
string
|
E
Rest
...
args:
any
[]
|
Arguments
<
{
request
:
(
(
request
:
yerpc
.
Request
)
=>
void
)
;
}
[
E
]
>
Returns
undefined
|
StdioTransport
notification
notification
(
method
:
string
, params
?:
yerpc
.
Params
)
:
void
Parameters
method:
string
Optional
params:
yerpc
.
Params
Returns
void
off
off
<
E
>
(
event
:
E
, callback
?:
{
request
:
(
(
request
:
yerpc
.
Request
)
=>
void
)
;
}
[
E
]
)
:
undefined
|
StdioTransport
Type Parameters
E
extends
"request"
Parameters
event:
E
Optional
callback:
{
request
:
(
(
request
:
yerpc
.
Request
)
=>
void
)
;
}
[
E
]
Returns
undefined
|
StdioTransport
on
on
<
E
>
(
event
:
E
, callback
:
{
request
:
(
(
request
:
yerpc
.
Request
)
=>
void
)
;
}
[
E
]
, ctx
?:
any
)
:
StdioTransport
Type Parameters
E
extends
"request"
Parameters
event:
E
callback:
{
request
:
(
(
request
:
yerpc
.
Request
)
=>
void
)
;
}
[
E
]
Optional
ctx:
any
Returns
StdioTransport
once
once
<
E
>
(
event
:
E
, callback
:
{
request
:
(
(
request
:
yerpc
.
Request
)
=>
void
)
;
}
[
E
]
, ctx
?:
any
)
:
void
Type Parameters
E
extends
"request"
Parameters
event:
E
callback:
{
request
:
(
(
request
:
yerpc
.
Request
)
=>
void
)
;
}
[
E
]
Optional
ctx:
any
Returns
void
request
request
(
method
:
string
, params
?:
yerpc
.
Params
)
:
Promise
<
unknown
>
Parameters
method:
string
Optional
params:
yerpc
.
Params
Returns
Promise
<
unknown
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@deltachat/jsonrpc-
client
RPC
T
yerpc
Stdio
Transport
constructor
e
input
output
_onmessage
_send
close
emit
notification
off
on
once
request
Generated using
TypeDoc