https://kotlinlang.org logo
Title
f

fkrauthan

12/27/2019, 7:41 PM
What is the recommended way to pass values (e.g. request headers or authentication) from ktor server to ktor client instances? Is there a simple context object that you can access globally or do I need to pass down any information manually? Or what is the recommended way?
v

voben

12/28/2019, 4:18 AM
I think you’d have to pass the info manually
f

fkrauthan

12/28/2019, 5:10 AM
Hmm ok. I wish there would be an easier/better way similar to in the "old threaded" ways the global ThreadContext that I can use for things like that
c

cy

12/29/2019, 7:53 AM
This is known issue that is not yet resolved. For now you need to setup it manually
f

fkrauthan

12/31/2019, 10:26 PM
@cy Is there by any chance a ticket I can follow that might solve scenarios like this?
j

Jesus Perez Curbelo

10/05/2022, 5:45 PM
Hi all. Any updates on this issue?