I am developing a native iOS application using Apollo Client SDK. I want to know the exact way on passing in a header. I read about the interceptor but couldn’t actually figure that out.
Lets say my header values are dynamic based on user choices, how would I create an interceptor and use it.
For example my header needs language and my app allows users to change language with in the app and in one of my fetch call I need to pass this in as header param. Any pointers will be appreciated