SimulatedOfflineMode
Types of network failure that can be simulated.
Entries
Link copied to clipboard
Immediate connection failure. Requests fail instantly with a network error. This is the fastest mode for testing but least realistic.
Link copied to clipboard
Timeout simulation. Requests hang until timeout (15 seconds), then fail. More realistic but slower due to retry logic being exercised.
Link copied to clipboard
Intermittent failures. Approximately 50% of requests will fail randomly. Useful for testing retry behavior and partial connectivity.
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.