Skip to content

Latest commit

 

History

History
71 lines (34 loc) · 919 Bytes

tryorama.trycpclient.create.md

File metadata and controls

71 lines (34 loc) · 919 Bytes

Home > @holochain/tryorama > TryCpClient > create

TryCpClient.create() method

Create a client connection to a running TryCP server.

Signature:

static create(serverUrl: URL, timeout?: number): Promise<TryCpClient>;

Parameters

Parameter

Type

Description

serverUrl

URL

The URL of the TryCP server.

timeout

number

(Optional)

**Returns:**

Promise<TryCpClient>

The created client connection.