rustic / com.osm.gradle.plugins.types.interfaces.options.config / IHttp

IHttp

interface IHttp

Properties

cainfo

Path to Certificate Authority (CA) bundle (optional)

abstract val cainfo: String?

checkRevoke

Indicates whether SSL certs are checked for revocation

abstract 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).

abstract val debug: Boolean?

lowSpeedLimit

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

abstract val lowSpeedLimit: Int?

multiplexing

whether or not to use HTTP/2 multiplexing where possible

abstract val multiplexing: Boolean?

proxy

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

abstract 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.

abstract val sslVersion: String?

timeout

Timeout for each HTTP request, in seconds

abstract val timeout: Int?

Inheritors

Http

open class Http : RusticConfigurableBase, IHttp

Http

class Http : CargoPriorityResolveBase<IHttp>, IHttp