simulatePUT method

void simulatePUT(
  1. RegExp urlPattern,
  2. SimulateResponse response
)

Defines PUT simulated response for urlPattern.

Implementation

void simulatePUT(RegExp urlPattern, SimulateResponse response) {
  _putPatterns[urlPattern] = response;
}