Fix Kotlin example for filtering handler functions
Closes gh-#27337
This commit is contained in:
parent
c27ec00ae9
commit
b120e0b8f4
|
@ -799,10 +799,10 @@ For instance, consider the following example:
|
|||
ServerRequest.from(it)
|
||||
.header("X-RequestHeader", "Value").build()
|
||||
}
|
||||
POST("/person", handler::createPerson)
|
||||
after { _, response -> // <2>
|
||||
logResponse(response)
|
||||
}
|
||||
}
|
||||
POST("/person", handler::createPerson)
|
||||
after { _, response -> // <2>
|
||||
logResponse(response)
|
||||
}
|
||||
}
|
||||
----
|
||||
|
|
Loading…
Reference in New Issue