Skip to main content

AgentRestClient class

This plugin can be used to access the methods of a remote Veramo agent as if they were implemented locally.

The remote agent should be provided by AgentRouter, or a similar implementation of this API.

The schema of the remote agent is usually provided by ApiSchemaRouter.

Signature:

export declare class AgentRestClient implements IAgentPlugin

Implements: IAgentPlugin

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Constructs a new instance of the AgentRestClient class

Properties

Property

Modifiers

Type

Description

methods

readonly

IPluginMethodMap

schema?

readonly

IAgentPluginSchema

(Optional)