Table of Contents

CreateManager Method

Definition

Namespace
Cuemon.Extensions.Net.Http
Assemblies
Cuemon.Extensions.Net.dll
Source
src/Cuemon.Extensions.Net/Http/HttpManagerFactory.cs

CreateManager(IHttpClientFactory, string)

Creates and returns an HttpManager from the specified factory.

public static HttpManager CreateManager(IHttpClientFactory factory, string name = null)

Parameters

factory IHttpClientFactory

The IHttpClientFactory that determines the HttpClient to use.

name string

The logical name of the client to create.

Returns

HttpManager

HttpManager.