class
Kemal::PathHandler
- Kemal::PathHandler
- Reference
- Object
Overview
PathHandler wraps a HTTP::Handler to only execute for specific path prefixes.
Example
use "/api", AuthHandler.new
The handler will only execute for requests matching the path prefix:
/apimatches/api,/api/users,/api/posts/1/apidoes NOT match/,/apiv2,/other
Included Modules
- HTTP::Handler