CBLReplicatorConnection
@protocol CBLReplicatorConnection <NSObject>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. DeclarationObjective-C - (void)close:(nullable CBLMessagingError *)error;Swift func close(_ error: CBLMessagingError?)ParameterserrorThe error if available. 
- 
                  
                  Tells the replicator to consume the message received from the other peer. DeclarationObjective-C - (void)receive:(nonnull CBLMessage *)message;Swift func receive(_ message: CBLMessage)ParametersmessageThe message. 
 CBLReplicatorConnection Protocol Reference
        CBLReplicatorConnection Protocol Reference