Skip to content

allow custom interceptor for retrofit2client #1435

@sixinli

Description

@sixinli

reading from https://inthecheesefactory.com/blog/retrofit-2.0/en section Use an Interceptor from OkHttp the new way of specifying an interceptor is through the okhttpclient, is it possible to expose that to the retrofit2client?

use case: we want to modify request headers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions