About 62,400 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. C# HttpClient - creating HTTP requests with HttpClient in C

    Jul 5, 2023 · C# HttpClient tutorial shows how to create HTTP requests with HttpClient in C#. In the examples, we create simple GET, HEAD, and POST requests.

  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. 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, …

  5. 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.

  6. HttpClient Message Handlers in ASP.NET Web API

    May 11, 2022 · On the client side, the HttpClient class uses a message handler to process requests. The default handler is HttpClientHandler, which sends the request over the network …

  7. Apache HttpComponents – HttpClient Overview

    6 days ago · 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 …

  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 Use HttpClient Without Async/Await in C#: Get Response …

    4 days ago · This blog post will guide you through using HttpClient to fetch a response as a string without async/await, including setup, implementation, exception handling, and critical warnings …

  10. C# HttpClient: The Complete Guide [2023] - Josip Misko

    In this guide, you will learn everything you need to know about using HttpClient. From the basics of making requests to advanced topics such as handling timeouts, authentication, and …