FastHttpService() constructor¶
Defined in
Type: FastHttpService
Namespace: Akavache
Assembly: Akavache.HttpDownloader.dll
Applies to
net10.0, net10.0-ios26.0, net10.0-android36.0, net10.0-maccatalyst26.0, net10.0-macos26.0, net10.0-windows10.0.19041, net9.0, net9.0-windows10.0.19041, net8.0, net8.0-windows10.0.19041, net462, net481
Overloads¶
-
public FastHttpService() -
public FastHttpService(int retries) -
public FastHttpService(int retries, TimeSpan timeout)
1. Overload¶
public FastHttpService()
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)
Summary: Initializes a new instance of the FastHttpService class that times out after two seconds.
Parameters
| Name | Type | Description |
|---|---|---|
retries | int | The number of retry attempts to use. |
3. Overload¶
public FastHttpService(int retries, TimeSpan timeout)
Summary: Initializes a new instance of the FastHttpService class.
Parameters
| Name | Type | Description |
|---|---|---|
retries | int | The number of retry attempts to use. |
timeout | TimeSpan | The timeout duration to use. |