put method

void put(
  1. String path,
  2. RequestHandler onRequest
)

Implementation

void put(String path, RequestHandler onRequest) {
  createRoute(
    path: path,
    method: RegExp(r"^(put)$", caseSensitive: false),
    onRequest: onRequest,
  );
}