ConnectionMonitorHttpConfigurationResponse

data class ConnectionMonitorHttpConfigurationResponse(val method: String? = null, val path: String? = null, val port: Int? = null, val preferHTTPS: Boolean? = null, val requestHeaders: List<HTTPHeaderResponse>? = null, val validStatusCodeRanges: List<String>? = null)

Describes the HTTP configuration.

Constructors

constructor(method: String? = null, path: String? = null, port: Int? = null, preferHTTPS: Boolean? = null, requestHeaders: List<HTTPHeaderResponse>? = null, validStatusCodeRanges: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val method: String? = null

The HTTP method to use.

Link copied to clipboard
val path: String? = null

The path component of the URI. For instance, "/dir1/dir2".

Link copied to clipboard
val port: Int? = null

The port to connect to.

Link copied to clipboard
val preferHTTPS: Boolean? = null

Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.

Link copied to clipboard

The HTTP headers to transmit with the request.

Link copied to clipboard

HTTP status codes to consider successful. For instance, "2xx,301-304,418".