allow custom interceptor for retrofit2client
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先定位 retrofit2client 的构造位置以及它使用的 OkHttp 客户端配置。检查当前如何设置请求标头,然后确定可以在哪里暴露由调用方提供的拦截器,并验证它能够修改传出的请求标头。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Java
- 星标
- 96
- 派生
- 95
- 平均合并
- 8 分钟
- 30 天内合并 PR
- 55
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
palantir/conjure-java-runtime 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
palantir/conjure-java-runtime#3585 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 50/100
palantir/conjure-java-runtime#3166 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
palantir/conjure-java-runtime#2490 · 3 个 reaction ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
palantir/conjure-java-runtime#2248 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
palantir/conjure-java-runtime#2131 · 1 条评论 ·
维护者通常 1 天内回复
查看 palantir/conjure-java-runtime 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 72/100
ahmedmmordi/store-app#8 ·
-
jhipster heroku fails on heroku git:remote when reusing an existing app outside a git repository未关闭area: triage theme: undefined
难度 2/5 1-3 小时 新手友好度 76/100
jhipster/generator-jhipster#36018 ·
维护者通常 1 天内回复
-
component/zeebe kind/feature scope/broker
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复