HttpRoutes

Attribute for declaring routes.

static if(isWeb)
static if(isWebApi)
struct HttpRoutes {}

Constructors

this
this(string route)

Creates a new http routes attribute.

this
this(string[] routes)

Creates a new http routes attribute.

this
this()

Dsiabling the regular struct constructor.

Members

Variables

routes
string[] routes;

The routes.

Meta