VibrantRouter.Before

Adds a filter to the given path which is called before the handler.

  1. void Before(VoidCallback callback)
  2. void Before(string path, VoidCallback callback)
    class VibrantRouter(bool GenerateAll = false)
    void
    Before

Parameters

path string

The path that this filter is specific to.

callback VoidCallback

The filter that handles the event.

Meta