Join Slack
Powered by
How to add a custom filter similar to BasicAuth in...
# http4k
m
Mehdi
05/01/2020, 11:17 PM
How to add a custom filter similar to BasicAuth into ServerFilters?
d
dave
05/02/2020, 3:50 PM
you can just use an extension function for this. there's an example here :
https://github.com/http4k/http4k/blob/23ee6192034efcdb450ddea57efd0d1dde6b6c99/http4k-multipart/src/main/kotlin/org/http4k/filter/filterExt.kt
m
Mehdi
05/04/2020, 11:04 AM
Awsome! thanks
@dave
3
Views
Open in Slack
Previous
Next