MatcherCallback


Description:


[ Version ( since = "0.1" ) ]
public delegate bool MatcherCallback (Request req, Context context)

Match the request and populate the Valum.Context.

This is expected to be *very* fast and thus, no blocking operation must be performed. If necessary, it is preferable to use a Valum.HandlerCallback and invoke the 'next' continuation when ready.

Parameters:

req

request being matched

context

context which may be initial or derive from a parent

Returns:

'true' if the request is matched, otherwise 'false'


Namespace: Valum
Package: valum-0.3