Preparing search index...
The search index is not available
delphirtl
delphirtl
JSONRPCClient
Class JSONRPCClient<ClientParams>
Type Parameters
ClientParams
=
void
Implements
JSONRPCRequester
<
ClientParams
>
Index
Constructors
constructor
Methods
notify
receive
reject
All
Pending
Requests
request
request
Advanced
send
timeout
Constructors
constructor
new JSONRPCClient
<
ClientParams
>
(
_send
,
createID
?
)
:
JSONRPCClient
<
ClientParams
>
Type Parameters
ClientParams
=
void
Parameters
_send
:
SendRequest
<
ClientParams
>
Optional
createID
:
CreateID
Returns
JSONRPCClient
<
ClientParams
>
Methods
notify
notify
(
method
,
params
,
clientParams
)
:
void
Parameters
method
:
string
params
:
any
clientParams
:
ClientParams
Returns
void
receive
receive
(
responses
)
:
void
Parameters
responses
:
JSONRPCResponse
|
JSONRPCResponse
[]
Returns
void
reject
All
Pending
Requests
reject
All
Pending
Requests
(
message
)
:
void
Parameters
message
:
string
Returns
void
request
request
(
method
,
params
,
clientParams
)
:
PromiseLike
<
any
>
Parameters
method
:
string
params
:
any
clientParams
:
ClientParams
Returns
PromiseLike
<
any
>
request
Advanced
request
Advanced
(
request
,
clientParams
)
:
PromiseLike
<
JSONRPCResponse
>
Parameters
request
:
JSONRPCRequest
clientParams
:
ClientParams
Returns
PromiseLike
<
JSONRPCResponse
>
request
Advanced
(
request
,
clientParams
)
:
PromiseLike
<
JSONRPCResponse
[]
>
Parameters
request
:
JSONRPCRequest
[]
clientParams
:
ClientParams
Returns
PromiseLike
<
JSONRPCResponse
[]
>
send
send
(
payload
,
clientParams
)
:
Promise
<
void
>
Parameters
payload
:
any
clientParams
:
ClientParams
Returns
Promise
<
void
>
timeout
timeout
(
delay
,
overrideCreateJSONRPCErrorResponse
?
)
:
JSONRPCRequester
<
ClientParams
>
Parameters
delay
:
number
Optional
overrideCreateJSONRPCErrorResponse
:
(
(
id
:
JSONRPCID
)
=>
JSONRPCErrorResponse
)
(
id
)
:
JSONRPCErrorResponse
Parameters
id
:
JSONRPCID
Returns
JSONRPCErrorResponse
Returns
JSONRPCRequester
<
ClientParams
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
notify
receive
reject
All
Pending
Requests
request
request
Advanced
send
timeout
delphirtl
Loading...