About 23,500 results
Open links in new tab
  1. HttpClient Class (System.Net.Http) | Microsoft Learn

    // HttpClient is intended to be instantiated once per application, rather than per-use. See Remarks. static readonly HttpClient client = new HttpClient(); static async Task Main() { // Call …

  2. Apache HttpComponents – HttpClient Overview

    Jan 11, 2026 · Designed for extension while providing robust support for the base HTTP protocol, HttpClient may be of interest to anyone building HTTP-aware client applications such as web …

  3. Make HTTP requests with the HttpClient - .NET | Microsoft Learn

    Learn how to make HTTP requests and handle responses with the HttpClient in .NET.

  4. HttpClient guidelines for .NET - .NET | Microsoft Learn

    Oct 22, 2025 · Learn about using HttpClient instances to send HTTP requests and how you can manage clients using IHttpClientFactory in your .NET apps.

  5. System.Net.Http.HttpClient class - .NET | Microsoft Learn

    Jan 17, 2025 · HttpClient pools HTTP connections where possible and uses them for more than one request. This can have a significant performance benefit, especially for HTTPS requests, …

  6. HttpClient Constructor (System.Net.Http) | Microsoft Learn

    HttpClient is intended to be instantiated once and reused throughout the life of an application. Instantiating an HttpClient class for every request will exhaust the number of sockets available …

  7. Use the IHttpClientFactory - .NET | Microsoft Learn

    May 6, 2025 · Learn how to use the HttpClient and IHttpClientFactory implementations with dependency injection in your .NET workloads.

  8. HttpClient (Java SE 11 & JDK 11 ) - Oracle

    Once built, an HttpClient is immutable, and can be used to send multiple requests. An HttpClient provides configuration information, and resource sharing, for all requests sent through it.

  9. How To Implement HttpClient in C# (4 Ways) - DEV Community

    Sep 3, 2025 · HttpClient in .NET simplifies calling REST APIs by sending HTTP requests and receiving responses. It supports GET, POST, PUT, and DELETE methods with async operations.

  10. The Right Way To Use HttpClient In .NET - Milan Jovanovic

    Jun 10, 2023 · The easy way to make HTTP requests in .NET is to use the HttpClient to send those requests. And it's a great abstraction to work with, especially with the methods …