Condividi tramite


RestHealthCheck Class

Definition

A REST based health check

public class RestHealthCheck
type RestHealthCheck = class
Public Class RestHealthCheck
Inheritance
RestHealthCheck

Constructors

RestHealthCheck()

Initializes a new instance of the RestHealthCheck class.

RestHealthCheck(String, RestRequest, RestResponse)

Initializes a new instance of the RestHealthCheck class.

Properties

Name

Gets or sets a unique name for this check.

Request

Gets or sets the request to the health provider.

Response

Gets or sets 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.

Methods

Validate()

Validate the object.

Applies to