close

abstract fun close(error: MessagingError?)(source)

Tells the replicator to close the current connection. The replicator will call MessageEndpointConnection.close to acknowledge the closed connection.

Parameters

error

the error if any