body

fun body(fn: (Body) -> Boolean): Router(source)

Ensure body matches predicate


@JvmName(name = "bodyMatches")
fun body(fn: (String) -> Boolean): Router(source)

Ensure body string matches predicate