RestResponse Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |