Storyblok

fun Storyblok(token: String)

Parameters

token

The API token used to do the API requests

fun Storyblok(token: String, providedClient: HttpClient? = null, configureClient: HttpClientConfig<*>.() -> Unit? = null)

Parameters

token

The API token used to do the API requests

providedClient

Provide a custom client implementation, not using the default

configureClient

Creates the HttpClient. Overwriting this allows to construct a custom engine, or do further adjustments to the client. Note that it is required to provide a serializer again to parse the data