SyncClientConfiguration
Configuration options for the PowerSyncDatabase.connect method, allowing customization of the HTTP client used to connect to the PowerSync service.
Inheritors
Types
Link copied to clipboard
Provides an existing HttpClient instance to use for connecting to the PowerSync service. This client should be configured with the necessary plugins and settings to function correctly. The HTTP client requirements are delicate and subject to change throughout the SDK's development. The configureSyncHttpClient function can be used to configure the client for PowerSync, call this method when instantiating the client. The PowerSync SDK does not modify the provided client.
Link copied to clipboard
Extends the default Ktor HttpClient configuration with the provided block.