https://kotlinlang.org logo
#ktor
Title
# ktor
b

Big Chungus

11/18/2020, 10:12 AM
Are there any guides on how to write and use ktor middleware (if it's even possible)
d

David Hernando

11/18/2020, 10:40 AM
you can also take inspiration in already built Features, like
DefaultHeaders
for example
j

Joris PZ

11/19/2020, 12:51 PM
I recently implemented a route authorization middleware, and wrote a blog explaining my current understanding of Ktor's pipeline design, maybe it can help: https://ximedes.com/2020-09-17/role-based-authorization-in-ktor/
90 Views