HttpClientFactoryServiceCollectionExtensions Clase
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Métodos de extensión para configurar una instancia de IServiceCollection para IHttpClientFactory.
public ref class HttpClientFactoryServiceCollectionExtensions abstract sealed
public static class HttpClientFactoryServiceCollectionExtensions
type HttpClientFactoryServiceCollectionExtensions = class
Public Module HttpClientFactoryServiceCollectionExtensions
- Herencia
-
HttpClientFactoryServiceCollectionExtensions
Métodos
AddHttpClient(IServiceCollection) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection. |
AddHttpClient(IServiceCollection, String) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un objeto HttpClient con nombre. |
AddHttpClient(IServiceCollection, String, Action<HttpClient>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un objeto HttpClient con nombre. |
AddHttpClient(IServiceCollection, String, Action<IServiceProvider,HttpClient>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un objeto HttpClient con nombre. |
AddHttpClient<TClient,TImplementation>(IServiceCollection) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient,TImplementation>(IServiceCollection, Action<HttpClient>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient,TImplementation>(IServiceCollection, Action<IServiceProvider,HttpClient>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient,TImplementation>(IServiceCollection, Func<HttpClient,IServiceProvider,TImplementation>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient,TImplementation>(IServiceCollection, Func<HttpClient,TImplementation>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient,TImplementation>(IServiceCollection, String) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Action<HttpClient>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Action<IServiceProvider,HttpClient>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Func<HttpClient,IServiceProvider,TImplementation>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Func<HttpClient,TImplementation>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient>(IServiceCollection) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient>(IServiceCollection, Action<HttpClient>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient>(IServiceCollection, Action<IServiceProvider,HttpClient>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient>(IServiceCollection, String) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient>(IServiceCollection, String, Action<HttpClient>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
AddHttpClient<TClient>(IServiceCollection, String, Action<IServiceProvider,HttpClient>) |
Agrega IHttpClientFactory y los servicios relacionados a IServiceCollection y configura un enlace entre el tipo |
ConfigureHttpClientDefaults(IServiceCollection, Action<IHttpClientBuilder>) |
Agrega un delegado que se usará para configurar todas las HttpClient instancias. |
Se aplica a
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de