Interface HttpClientFactory

    • Method Detail

      • create

        <T> T create​(Class<T> api,
                     String base)
        Type Parameters:
        T - the proxy type.
        Parameters:
        api - your proxy definition, Request.
        base - the base url for the requests.
        Returns:
        a http client ready to be used.