replyPUT method

void replyPUT(
  1. RegExp urlPattern,
  2. String response
)

Defines a reply response for PUT requests with urlPattern.

Implementation

void replyPUT(RegExp urlPattern, String response) {
  simulatePUT(urlPattern, (u, p) => response);
}