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

hinst

09/09/2017, 4:50 PM
can someone plz tell me how to add 2nd-ary handler to an existing handler? I have these files() calls. What I'm trying to do is to write to log every time a specific file is requested, like "download.zip"; however to do that, I have to attach my code to the files() handler. Alternatively, I could re-implement files() and put both file provider and my writeLog() call into same function 🤔