@protocol CBLReplicatorConnection <NSObject>
ENTERPRISE EDITION ONLY.
The replicator connection used by the application to tell the replicator to consume the data received from the other peer or to close the connection.
Tells the replicator to close the current replicator connection. In return, the replicator will call the CBLMessageEndpointConnection’s -close:completion: to acknowledge the closed connection.
- (void)close:(nullable CBLMessagingError *)error;
func close(_ error: CBLMessagingError?)
The error if available.