RestHealthCheckResponse

data class RestHealthCheckResponse(val name: String, val request: RestRequestResponse, val response: RestResponseResponse? = null)

A REST based health check

Constructors

Link copied to clipboard
constructor(name: String, request: RestRequestResponse, response: RestResponseResponse? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A unique name for this check.

Link copied to clipboard

The request to the health provider.

Link copied to clipboard

The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.