Members
# package constant DEFAULT_STORY_FIELDS
Methods
# buildClient(host, temporaryClient) → {Client}
This low level function can be used to create an API Client. This should not be needed in most cases as @quintype/framework
will do this for you.
Parameters:
Name | Type | Description |
---|---|---|
host |
string | The API host |
temporaryClient |
boolean | Controls whether the config is reloaded every 120 seconds. This should be false for clients intended to be used within a single request |
A client connected to the API host