matcher
Description:
Bind a callback to a given method and a matcher callback.
The method will be marked as provided with the Valum.Method.PROVIDED flag.
Parameters:
method |
HTTP method or 'null' for any |
matcher |
callback used to match the request |
cb |
callback used to process the pair of request and response. |