matcher


Description:

public void matcher (Method method, owned MatcherCallback matcher, owned HandlerCallback cb)

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.




2022 vala-language.org