WebClient getWebClient(HttpUrl url) {
        if (baseWebClient.scheme().sessionProtocol().isTls() == url.isHttps() &&
            baseWebClientHost.equals(url.host()) &&
            baseWebClientPort == url.port()) {

            return baseWebClient;
        }

        final SessionProtocol protocol = url.isHttps() ? SessionProtocol.HTTPS : SessionProtocol.HTTP;
        final Endpoint endpoint = Endpoint.unsafeCreate(url.host(), url.port());
        return nonBaseWebClientFactory.apply(protocol, endpoint);
    }
A {@link Factory} that creates a {@link Call} instance for {@link WebClient}.
retrofit2/src/main/java/com/linecorp/armeria/client/retrofit2/ArmeriaCallFactory.java