Skip to content

allow custom interceptor for retrofit2client #1435

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions