When starting replication in my CBL app I provide a session cookie in the header. I assume this session will expire after a while (I think I read the default is 1 day?). So what should I do when the session expires? I assumed that I should just create a new session token and start the replication process over again. But I can’t see a way to do this.
Is there a way to cancel / stop or restart a replication task from the CBL rest api?