Udostępnij za pośrednictwem


RestResponse.SuccessStatusCodes Property

Definition

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.

public System.Collections.Generic.IList<string> SuccessStatusCodes { get; }
member this.SuccessStatusCodes : System.Collections.Generic.IList<string>
Public ReadOnly Property SuccessStatusCodes As IList(Of String)

Property Value

Applies to