any<T> function

MethodRouter any<T>(
  1. Endpoint<T> endpoint, {
  2. int status = 200,
})

Serves endpoint for any method no other handler claims.

Implementation

MethodRouter any<T>(Endpoint<T> endpoint, {int status = 200}) =>
    const MethodRouter().any(endpoint, status: status);