RemoteAPI.this

Create an instante of a client

This connects to an already instantiated node. In order to instantiate a node, see the static spawn function.

class RemoteAPI(API, alias S = VibeJSONSerializer!())
@trusted nothrow
this
(
IncomingAPI
)
(
Listener!IncomingAPI listener
,
Duration timeout = 5.seconds
)
if (
is(IncomingAPI : API)
)

Parameters

listener Listener!IncomingAPI

The listener used to connect to the node (most frequently obtained by calling geod24.concurrency.locate)

timeout Duration

any timeout to use

Meta