Creates a connection to the API using the client.
- Namespace
- Statiq
.Core - Containing Type
- ReadApi
<TClient>
Syntax
public ReadApi(TClient client, string clientName = "API")
Parameters
| Name | Type | Description |
|---|---|---|
| client | TClient | The API client to use. |
| clientName | string | The client name ("API" by default). |