Home > @holochain/tryorama > TryCpClient > create
Create a client connection to a running TryCP server.
Signature:
static create(serverUrl: URL, timeout?: number): Promise<TryCpClient>;
Parameter |
Type |
Description |
---|---|---|
serverUrl |
URL |
The URL of the TryCP server. |
timeout |
number |
(Optional) |
Promise<TryCpClient>
The created client connection.