HttpHandler.patch constructor

HttpHandler.patch(
  1. String path,
  2. ResponseResolver resolver
)

factory to create a handler for PATCH requests.

Implementation

factory HttpHandler.patch(String path, ResponseResolver resolver) {
  return HttpHandler._(
    method: _ExactHttpMethod(HttpMethod.patch),
    path: path,
    resolver: resolver,
  );
}