annotation Athena::Routing::Annotations::Route

Overview

Defines an endpoint with an arbitrary HTTP method. Can be used for defining non-standard HTTP method routes.

Fields

Example

@[ARTA::Route("/some/path", method: "TRACE")]
def trace_route : Nil
end

Defined in:

annotations.cr