invoke
Create a PushClient instance with a customizable configuration block. This allows for a more fluent, DSL-style configuration approach.
Return
An initialized PushClient instance.
val pushClient = PushClient {
timeoutMs = 60000
logger = Logger.STANDARD
storage = SQLPushStorage() // Uses encrypted storage by default
// Add custom push handlers
addPushHandler("CUSTOM_PLATFORM", CustomPushHandler())
}Content copied to clipboard
Parameters
block
The configuration block to customize the client configuration.