vertx / io.vertx.reactivex.mqtt / MqttEndpoint / accept

# accept

`open fun accept(sessionPresent: Boolean): MqttEndpoint`

Sends the CONNACK message to the remote MQTT client with "connection accepted" return code. See `io.vertx.reactivex.mqtt.MqttEndpoint#reject` for refusing connection

### Parameters

`sessionPresent` - if a previous session is present

Return
a reference to this, so the API can be used fluently