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

Antero Duarte

09/06/2018, 4:24 PM
Where can I find more information about that?
e

enleur

09/06/2018, 4:58 PM
i’ll provide you an example later
Copy code
HttpClient(Apache) {
        install(JsonFeature) {
            serializer = JacksonSerializer()
        }
        
        install("headers") {
            requestPipeline.intercept(HttpRequestPipeline.Before) {
                context.header("my-header", "trololo")
            }
        }
    }
a

Antero Duarte

09/07/2018, 10:04 AM
👍 Thank you. I know I've seen something like this before, but it's not easy to find in the documentation
4 Views