RetrofitUrlManager icon indicating copy to clipboard operation
RetrofitUrlManager copied to clipboard

🔮 Let Retrofit support multiple baseUrl and can be change the baseUrl at runtime (以最简洁的 Api 让 Retrofit 同时支持多个 BaseUrl 以及动态改变 BaseUrl).

Results 13 RetrofitUrlManager issues
Sort by recently updated
recently updated
newest added

在多线程中 mDomainNameHub 是安全的吗?在多线程请求密集时会不会有ConcurrentModificationException错误?

setGlobalDomain http://192.168.12.5:8055/CityInterface/ getGlobalDomain http://192.168.12.5:8055/CityInterface/ 经过 HttpUrl newUrl = mUrlParser.parseUrl(httpUrl, request.url()); 处理后 多了个CityInterface httpurl http://192.168.12.5:8055/CityInterface/ newurl http://192.168.12.5:8055/CityInterface/CityInterface/

![image](https://user-images.githubusercontent.com/20396159/69912396-bb01da00-1463-11ea-9c50-82ea6c0abdd6.png) ![image](https://user-images.githubusercontent.com/20396159/69912401-c9e88c80-1463-11ea-82d4-301e97071ab3.png)

How to use for the Post method

感谢开源;现在遇到一个问题,url切换成功了,但是每个url有不同的https证书,请问这个应该怎么切换。

用之前创建的Retrofit实例调用newBuilder()应该可以改变动态变url把

因为涉及baseurl不同,不同url的https证书也会不同 有啥好办法没有解决这个问题没有呢?