Class ClientCallRule
Inheritance
ClientCallRule
Assembly: OpenSearch.Net.VirtualizedCluster.dll
Syntax
public class ClientCallRule : RuleBase<ClientCallRule>, IClientCallRule, IRule
Methods
|
Edit this page
View Source
AfterSucceeds(RuleOption<Exception, int>)
Declaration
public ClientCallRule AfterSucceeds(RuleOption<Exception, int> errorState = null)
Parameters
Returns
|
Edit this page
View Source
FailAlways(RuleOption<Exception, int>)
Declaration
public ClientCallRule FailAlways(RuleOption<Exception, int> errorState = null)
Parameters
Returns
|
Edit this page
View Source
Fails(RuleOption<AllTimes, int>, RuleOption<Exception, int>)
Declaration
public ClientCallRule Fails(RuleOption<TimesHelper.AllTimes, int> times, RuleOption<Exception, int> errorState = null)
Parameters
Returns
|
Edit this page
View Source
SucceedAlways(int?)
Declaration
public ClientCallRule SucceedAlways(int? validResponseCode = 200)
Parameters
Type |
Name |
Description |
int? |
validResponseCode |
|
Returns
|
Edit this page
View Source
Succeeds(RuleOption<AllTimes, int>, int?)
Declaration
public ClientCallRule Succeeds(RuleOption<TimesHelper.AllTimes, int> times, int? validResponseCode = 200)
Parameters
Returns
|
Edit this page
View Source
ThrowsAfterSucceeds()
Declaration
public ClientCallRule ThrowsAfterSucceeds()
Returns
Implements
Extension Methods