Method | Description | |
---|---|---|
IsSuccess ( this @this, string configuredCodes ) : bool |
This method will determine if an HttpStatusCode represents a "success" or not based on the configuration string you pass in. You can pass literal codes like 100, 200, 404 Or you can pass in simple patterns using "x"s as wildcards like: 1xx, xx4
|
Method | Description | |
---|---|---|
ToRegex ( string s ) : string |
public static IsSuccess ( this @this, string configuredCodes ) : bool | ||
@this | this | |
configuredCodes | string | CSV of HttpStatus codes |
return | bool |