This repository was archived by the owner on Jun 21, 2023. It is now read-only.
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Missing doc to add additional headers #664
Open
Description
Hello, I'm looking for documentation to add additional headers using mapBox. My colleague working on iOS is using MGLNetworkConfiguration
class to handle this. But I haven't found any related Android documentation.
By digging into the API I found this:
HttpRequestUtil.setOkHttpClient(
OkHttpClient.Builder().addInterceptor {
it.proceed(
it
.request()
.newBuilder()
.header("test", "test")
.build()
)
}.build()
)
Is this the recommended way ?
Thanks for helping!