whenRoute(method, url);
Creates a new backend definition that compares only with the requested route.
Parameters
| Param | Type | Details |
|---|---|---|
| method | string | HTTP method. |
| url | string | HTTP url string that supports colon param matching. |
Returns
requestHandler |
Returns an object with |
Please login to continue.