SyncOptions

class SyncOptions(val newClientImplementation: Boolean = true, val userAgent: String = userAgent(), val clientConfiguration: SyncClientConfiguration? = null, val includeDefaultStreams: Boolean = true)(source)

Options for PowerSyncDatabase.connect to customize the connection mechanism.

Constructors

Link copied to clipboard
constructor(newClientImplementation: Boolean = true, userAgent: String = userAgent(), clientConfiguration: SyncClientConfiguration? = null, includeDefaultStreams: Boolean = true)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Allows configuring the HttpClient used for connecting to the PowerSync service.

Link copied to clipboard

Whether streams that have been defined with auto_subscribe: true should be synced even when they don't have an explicit subscription.

Link copied to clipboard

Enables the new client implementation written in Rust.

Link copied to clipboard

The user agent to use for requests made to the PowerSync service.