Generated by DocFX

Interface IJsonClient

Namespace: VEDriversLite.NeblioAPI
Assembly: VEDriversLite.NeblioAPI.dll
Syntax
public interface IJsonClient

Methods

| Improve this Doc View Source

RpcAsync(RpcRequest)

Send a JSON-RPC call to a localhost neblio-Qt or nebliod node

Declaration
Task<RpcResponse> RpcAsync(RpcRequest body)
Parameters
Type Name Description
RpcRequest body
Returns
Type Description
System.Threading.Tasks.Task<RpcResponse>

Object containing the JSON response from the Neblio node.

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

RpcAsync(RpcRequest, CancellationToken)

Send a JSON-RPC call to a localhost neblio-Qt or nebliod node

Declaration
Task<RpcResponse> RpcAsync(RpcRequest body, CancellationToken cancellationToken)
Parameters
Type Name Description
RpcRequest body
System.Threading.CancellationToken cancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns
Type Description
System.Threading.Tasks.Task<RpcResponse>

Object containing the JSON response from the Neblio node.

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

RpcIntAsync(RpcAdvancedRequest)

Send a JSON-RPC call to a localhost neblio-Qt or nebliod node

Declaration
Task<RpcResponse> RpcIntAsync(RpcAdvancedRequest body)
Parameters
Type Name Description
RpcAdvancedRequest body
Returns
Type Description
System.Threading.Tasks.Task<RpcResponse>

Object containing the JSON response from the Neblio node.

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

RpcIntAsync(RpcAdvancedRequest, CancellationToken)

Send a JSON-RPC call to a localhost neblio-Qt or nebliod node

Declaration
Task<RpcResponse> RpcIntAsync(RpcAdvancedRequest body, CancellationToken cancellationToken)
Parameters
Type Name Description
RpcAdvancedRequest body
System.Threading.CancellationToken cancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns
Type Description
System.Threading.Tasks.Task<RpcResponse>

Object containing the JSON response from the Neblio node.

Exceptions
Type Condition
ApiException

A server side error occurred.