`URL` overload for `Retrofit.Builder#baseUrl`
Functionally does nothing, just somewhat cleaner to be able to do `baseUrl(URL)` than `baseUrl(URL#toString());` if handling a `URL` rather than `String`. Used `HttpUrl.get(String)` as `HttpUrl.get(URL)` returns null instead of throwing an exception.
Showing
想要评论请 注册 或 登录