PathMapping

A user-defined attribute that, when added to a function, allows that function to be registered automatically by a path handler when you call its registerHandlers method on the module containing the function.

Members

Variables

method
HttpMethod method;

The HTTP method that the mapping accepts.

pattern
string pattern;

The path pattern for the mapping.