Skip to main content

Class FakeAgentHostingProvider

Less than 1 minute

Class FakeAgentHostingProvider

Declared in packages/sdk/client/src/services/fake-agent-hosting-provider.ts:9open in new window

Constructors

constructor(_clientConfig)open in new window

Returns: FakeAgentHostingProvider

Arguments:

_clientConfig: Config

Properties

Methods

createAgent(invitationCode, identityKey)open in new window

Returns: Promise<string>

Arguments:

invitationCode: string

identityKey: string

destroyAgent(agentID)open in new window

Returns: Promise<boolean>

Arguments:

agentID: string

getAgent(agentID)open in new window

Returns: Promise<"null" | string>

Arguments:

agentID: string