Fix Kotlin example for filtering handler functions

Closes gh-#27337
This commit is contained in:
Steve Wei
2021-08-30 23:47:31 +09:00
committed by GitHub
parent c27ec00ae9
commit b120e0b8f4

View File

@@ -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)
}
}
----