ApiCoreFunctions
Function: createHostClient()
function createHostClient(
url,
host,
key,
provider?
): HostClient;Defined in: packages/core/src/session/hosting.ts:790
A client for one host, signing as one subscription.
Parameters
| Parameter | Type | Description |
|---|---|---|
url | string | - |
host | string | The host's key: every status must be signed by it |
key | SubscriptionKey | - |
provider? | CryptoProvider | - |