Skip to content

api.service.PolicyRoute

This service is used by Hitchy's core to describe a policy route at runtime. It is associating the template of a request path's prefix with a function invoked to handle incoming requests with a path matching that template with its leading part.

It is inheriting from Route.