SwrClientProvider

fun SwrClientProvider(client: SwrClient, content: @Composable () -> Unit)

Provides a SwrClient to the content over LocalSwrClient

Parameters

client

Applying to LocalSwrClient.

content

The content under the CompositionLocalProvider.


Provides a SwrClientPlus to the content over LocalSwrClient

Parameters

client

Applying to LocalSwrClient.

content

The content under the CompositionLocalProvider.