withAttribute

fun withAttribute(name: String, value: Any)

Add an attribute with the given name and value to the last route built with this builder.

Since

6.0

Parameters

name

the attribute name

value

the attribute value