class Http : CargoPriorityResolveBase<IHttp>, IHttp
<init> |
Http(args: List<IHttp?>) |
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 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
val sslVersion: String? |
timeout |
Timeout for each HTTP request, in seconds val timeout: Int? |