ReadApi(Config<TClient>, string) Constructor
Creates a connection to the API using the client factory.
Namespace
Statiq.Core
Containing Type
ReadApi<TClient>

Syntax

public ReadApi(Config<TClient> clientFactory, string clientName = "API")

Parameters

Name Type Description
clientFactory Config<TClient> The API client factory to use which will be called for each document.
clientName string The client name ("API" by default).