vertx / io.vertx.rxjava.ext.consul / ConsulClient / createSessionWithOptions

# createSessionWithOptions

`open fun createSessionWithOptions(options: SessionOptions, idHandler: Handler<AsyncResult<String>>): ConsulClient`

Initialize a new session

### Parameters

`options` - options used to create session

`idHandler` - will be provided with ID of new session

Return
reference to this, for fluency