This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Curl.
Summary
Contains the settings used by curl when downloading
one or more files from remote URLs.
- Assembly
- Cake
.Curl .dll - Namespace
- Cake
.Curl - Base Types
-
- ToolSettings
- CurlSettings
graph BT
Type-->Base0["CurlSettings"]
click Base0 "/api/Cake.Curl/CurlSettings"
Base0-->Base1["ToolSettings"]
Type["CurlDownloadSettings"]
class Type type-node
Syntax
public sealed class CurlDownloadSettings : CurlSettings
Constructors
Name | Summary |
---|---|
CurlDownloadSettings |
Properties
Name | Value | Summary |
---|---|---|
ConnectionTimeout | Nullable |
Gets or sets the maximum amount of time the connection to the remote machine is allowed to take.
Inherited from CurlSettings
|
CreateDirectories | bool |
Gets or sets a value indicating whether curl should create the directory
hierarchy specified in the
OutputPaths locally.
|
Fail | bool |
Gets or sets a value indicating whether HTTP errors should result in a non-zero exit code.
Inherited from CurlSettings
|
FollowRedirects | bool |
Gets or sets a value indicating whether to follow HTTP redirects.
Inherited from CurlSettings
|
Headers | IDictionary |
Gets or sets the header to use when communicating to the remote host.
Inherited from CurlSettings
|
MaxTime | Nullable |
Gets or sets the maximum amount of time the operation is allowed to take.
Inherited from CurlSettings
|
OutputPaths | IEnumerable |
Gets or sets the sequence of local
FilePath
where to save the downloaded files.
|
Password | string |
Gets or sets the password to use when authenticating to the remote host.
Inherited from CurlSettings
|
ProgressBar | bool |
Gets or sets a value indicating whether to display a simple progress bar
instead of the standard progress meter.
Inherited from CurlSettings
|
RequestCommand | string |
Gets or sets the command to use in the request.
Inherited from CurlSettings
|
RetryCount | uint |
Gets or sets the number of times curl should retry a failed operation before giving up.
Setting this property to zero means no retries. This is the default value.
Inherited from CurlSettings
|
RetryDelaySeconds | uint |
Gets or sets the amount of time curl should wait before retrying a failed operation.
Setting this property to zero means using curl's own exponential wait algorithm. This is the default value.
Inherited from CurlSettings
|
RetryMaxTimeSeconds | uint |
Gets or sets the maximum amount of time during which curl should retry a failed operation.
Setting this property to zero means retrying without a time limit. This is the default value.
Inherited from CurlSettings
|
Retry |
bool |
Gets or sets a value indicating whether curl should consider
as a failed operation
before retrying. The default value is .
Inherited from CurlSettings
|
Username | string |
Gets or sets the username to use when authenticating to the remote host.
Inherited from CurlSettings
|
Verbose | bool |
Gets or sets a value indicating whether to enable verbose output.
Inherited from CurlSettings
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|