NetworkResponseModifier.OK, méthode
Définition
Remplace tout état d’erreur par la valeur OK des réponses qui correspondent aux paramètres spécifiés.
Surcharges
NetworkResponseModifier.OK(masque de chaîne)
public void OK(string mask)
Paramètres
chaîne de masque
NetworkResponseModifier.OK (chaîne, ErrorTypes, int)
public void OK (string URLmask, ErrorTypes ErrorType, int ErrorCode)
Paramètres
Chaîne URLmask ErrorType ErrorTypes URLmask intExemples
NetworkResponseModifier.OK (“www.example.com/mychart”) NetworkResponseModifier.OK (“www.example.com/*”, errortypes.HTTP, 404)