diff --git a/src/Discord.Net.Rest/Extensions/ServiceCollectionExtensions.cs b/src/Discord.Net.Rest/Extensions/ServiceCollectionExtensions.cs
index a45be05a5..6e252fb85 100644
--- a/src/Discord.Net.Rest/Extensions/ServiceCollectionExtensions.cs
+++ b/src/Discord.Net.Rest/Extensions/ServiceCollectionExtensions.cs
@@ -16,6 +16,12 @@ namespace Discord.Rest.Extensions
///
public static class ServiceCollectionExtensions
{
+ ///
+ /// Adds the DiscordRestClient as a Scoped Service to be able to use through DI.
+ ///
+ /// This is the IServiceCollection where all the services are located.
+ /// Set this to true to use proxies, default is false.
+ ///
public static IServiceCollection AddScopedDiscordRestClient(this IServiceCollection services, bool useProxy = false)
{
services.AddHttpClient("HttpClientFactoryRestClientProvider")
@@ -40,7 +46,12 @@ namespace Discord.Rest.Extensions
return services;
}
-
+ ///
+ /// Adds the DiscordRestClient as a Transient Service to be able to use through DI.
+ ///
+ /// This is the IServiceCollection where all the services are located.
+ /// Set this to true to use proxies, default is false.
+ ///
public static IServiceCollection AddTransientDiscordRestClient(this IServiceCollection services, bool useProxy = false) //where should we put this useProxy options, I haven't fully understood where the original code takes this from.
{
services.AddHttpClient("HttpClientFactoryRestClientProvider")