interface IHttp
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 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
abstract val sslVersion: String? |
timeout |
Timeout for each HTTP request, in seconds abstract val timeout: Int? |
Http |
open class Http : RusticConfigurableBase, IHttp |
Http |
class Http : CargoPriorityResolveBase<IHttp>, IHttp |