rustic / com.osm.gradle.plugins.types.variants.options.config / Http

Http

class Http : CargoPriorityResolveBase<IHttp>, IHttp

Constructors

<init>

Http(args: List<IHttp?>)

Properties

cainfo

Path to Certificate Authority (CA) bundle (optional)

val cainfo: String?

checkRevoke

Indicates whether SSL certs are checked for revocation

val checkRevoke: String?

debug

This setting can be used to help debug what's going on with HTTP requests made by Cargo. When set to true then Cargo's normal debug logging will be filled in with HTTP information, which you can extract with CARGO_LOG=cargo::ops::registry=debug (and trace may print more).

val debug: Boolean?

environmentPrefix

val environmentPrefix: String

environmentPropertyMapper

val environmentPropertyMapper: Map<String, () -> Any?>

lowSpeedLimit

Lower threshold for bytes/sec (10 = default, 0 = disabled)

val lowSpeedLimit: Int?

multiplexing

whether or not to use HTTP/2 multiplexing where possible

val multiplexing: Boolean?

proxy

HTTP proxy to use for HTTP requests (defaults to none) in libcurl format, e.g., "socks5h://host:port"

val proxy: String?

sslVersion

Indicates which SSL version or above to use (command are "default", "tlsv1", "tlsv1.0", "tlsv1.1", "tlsv1.2", "tlsv1.3") To better control SSL version, we can even use ssl-version.min = "..." and ssl-version.max = "..." where "..." is one of the above command. But note these two forms ("setting ssl-version" and "setting both min/max) can't co-exist.

val sslVersion: String?

timeout

Timeout for each HTTP request, in seconds

val timeout: Int?