Skip to content

DefaultAkavacheHttpClientFactory.CreateClient(string) method

Defined in

Type: DefaultAkavacheHttpClientFactory Namespace: Akavache Assembly: Akavache.Core.dll

Applies to

net9.0, net9.0-maccatalyst18.0, net9.0-macos15.0, net9.0-tvos18.0, net9.0-android35.0, net9.0-ios18.0, net8.0, net8.0-android34.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-tvos17.2, netstandard2.1, netstandard2.0

public HttpClient CreateClient(string name)

View source

Inherited documentation

These docs were inherited from IAkavacheHttpClientFactory. The member doesn't override them on this type.

Summary: Creates and configures an HttpClient instance using the configuration that corresponds to the logical name specified by name.

Parameters

NameTypeDescription
namestringThe logical name of the client to create.

Returns: HttpClient -- A new HttpClient instance.