Home > @holochain/tryorama > TryCpClient
A factory class to create client connections to a running TryCP server.
With a client, conductors on the server can ba configured, started and stopped. All valid Admin and App API commands can be sent to the server too.
Signature:
export declare class TryCpClient
Property |
Modifiers |
Type |
Description |
---|---|---|---|
URL | undefined | |||
URL | undefined |
Method |
Modifiers |
Description |
---|---|---|
Create and add a conductor to the client. | ||
Send a call to the TryCP server. | ||
Run the | ||
Shut down all registered conductors and delete them, and close the client connection. | ||
Closes the client connection. | ||
|
Create a client connection to a running TryCP server. | |
Send a ping with data. | ||
Shut down all conductors on the connected TryCP server and disconnect their app interfaces. | ||