SocketsHttpHandlerBuilderExtensions Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods to configure SocketsHttpHandler for a named HttpClient instances returned by IHttpClientFactory.
public ref class SocketsHttpHandlerBuilderExtensions abstract sealed
public static class SocketsHttpHandlerBuilderExtensions
type SocketsHttpHandlerBuilderExtensions = class
Public Module SocketsHttpHandlerBuilderExtensions
- Inheritance
-
SocketsHttpHandlerBuilderExtensions
Configure(ISockets |
Adds a delegate that will be used to configure the primary SocketsHttpHandler for a named HttpClient. |
Configure(ISockets |
Uses IConfiguration to configure the primary SocketsHttpHandler for a named HttpClient. |
Produk | Versi |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET maklum balas
.NET ialah projek sumber terbuka. Pilih pautan untuk memberikan maklum balas: