Interface ICustomCheckpointRequestConnector
- Namespace
- PowerSync.Common.Client.Connection
- Assembly
- PowerSync.Common.dll
An IAuthenticator capable of requesting checkpoints.
Implement this interface instead of IAuthenticator when uploads are processed asynchronously by the backend (for example through a message queue): The sync client as part of the PowerSync .NET SDK generates a checkpoint request id and hands it to your backend via this class, which is responsible for creating a matching checkpoint once the uploads preceding the request have been processed. For more details, see asynchronous backend uploads.
To use this connector, using CheckpointMode.Requests is required. Note that this requires PowerSync service version 1.24.0 or later.
public interface ICustomCheckpointRequestConnector : IAuthenticator
- Inherited Members
Methods
- PostCheckpointRequest(string, long, CancellationToken)
Posts a client-generated checkpoint request to the backend and returns the effective checkpoint request state.