Skip to content

FastHttpService() constructor

Defined in

Type: FastHttpService Namespace: Akavache Assembly: Akavache.HttpDownloader.dll

Applies to

net11.0, net11.0-maccatalyst27.2, net11.0-android37.0, net11.0-macos27.2, net11.0-windows10.0.19041, net11.0-ios27.2, net10.0, net10.0-macos26.0, net10.0-windows10.0.19041, net10.0-maccatalyst26.0, net10.0-ios26.0, net10.0-android36.0, net48, net47, net471, net472, net481

Overloads

  1. public FastHttpService()

  2. public FastHttpService(int retries)

  3. public FastHttpService(int retries, TimeSpan timeout)

1. Overload

public FastHttpService()

View source (opens in a new tab)

Summary: Initializes a new instance of the FastHttpService class that does not retry and times out after two seconds.

2. Overload

public FastHttpService(int retries)

View source (opens in a new tab)

Summary: Initializes a new instance of the FastHttpService class that times out after two seconds.

Parameters

NameTypeDescription
retriesint (opens in a new tab)The number of retry attempts to use.

3. Overload

public FastHttpService(int retries, TimeSpan timeout)

View source (opens in a new tab)

Summary: Initializes a new instance of the FastHttpService class.

Parameters

NameTypeDescription
retriesint (opens in a new tab)The number of retry attempts to use.
timeoutTimeSpan (opens in a new tab)The timeout duration to use.