NetworkResponseModifier.OK Method

Definition

Overwrites any error status with the OK value for the responses that match the specified parameters.

Overloads

NetworkResponseModifier.OK(string mask)

public void OK(string mask)

Parameters

 mask  string

NetworkResponseModifier.OK (string, ErrorTypes, int)

public void OK (string URLmask, ErrorTypes ErrorType, int ErrorCode)

Parameters

 URLmask  string

 ErrorType  ErrorTypes

 URLmask  int

Examples

NetworkResponseModifier.OK (“www.example.com/mychart”)

NetworkResponseModifier.OK (“www.example.com/*”, errortypes.HTTP, 404)