io.pedestal.http.route.definition.table

table-routes

(table-routes routes)(table-routes opts routes)

Constructs table routes.

The standard constructor is an options map and then a seq (a list or a set) of route vectors.

The single parameter constructor looks for the first map as the options, then any other vectors are the routes.

The options map may have keys :app-name, :host, :port, :scheme, and :verbs. The first four set the corresponding route keys of the routes; the :verbs key specifies the allowed verbs for the routes.