Condividi tramite


RestResponse Class

Definition

The properties that make up the expected REST response

public class RestResponse
type RestResponse = class
Public Class RestResponse
Inheritance
RestResponse

Constructors

RestResponse()

Initializes a new instance of the RestResponse class.

RestResponse(IList<String>, RestResponseRegex)

Initializes a new instance of the RestResponse class.

Properties

Regex

Gets or sets the regular expressions to match the response content with.

SuccessStatusCodes

Gets or sets the HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.

Applies to