withAttribute

fun withAttribute(name: String, value: Any)

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

Parameters

name

the attribute name

value

the attribute value

    • @since 6.0