SyntheticTaskMonitorConfApiHttp

data class SyntheticTaskMonitorConfApiHttp(val connectTimeout: Int? = null, val method: String? = null, val requestBody: SyntheticTaskMonitorConfApiHttpRequestBody? = null, val requestHeaders: Map<String, String>? = null, val targetUrl: String, val timeout: Int? = null)

Constructors

Link copied to clipboard
constructor(connectTimeout: Int? = null, method: String? = null, requestBody: SyntheticTaskMonitorConfApiHttpRequestBody? = null, requestHeaders: Map<String, String>? = null, targetUrl: String, timeout: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val connectTimeout: Int? = null

Connection timeout, in ms. Default 5000. Optional range: 1000-300000ms.

Link copied to clipboard
val method: String? = null

HTTP method, GET or POST.

Link copied to clipboard

HTTP request body. See request_body below.

Link copied to clipboard

HTTP request header.

Link copied to clipboard

The target URL.

Link copied to clipboard
val timeout: Int? = null

TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.