/// <summary>
        /// Adds a named <see cref="HttpClient"/> for the specified gateway.
        /// </summary>
        /// <typeparam name="TGateway"></typeparam>
        /// <param name="services"></param>
        public static IHttpClientBuilder AddHttpClientForGateway <TGateway>(this IServiceCollection services) where TGateway : class, IGateway
        {
            if (services == null)
            {
                throw new ArgumentNullException(nameof(services));
            }

            return(services.AddHttpClient(GatewayHelper.GetCompleteGatewayName <TGateway>()));
        }