Like with structs / classes, it would be convenient if the HTTP router specifies a default type and default procedure type, so that instead of this:
httprouter/Router MyRouter:/
int16 construct() method
member m: int32
GET home: "/"
a user can do:
httprouter/Router MyRouter:/
int16 construct()
m: int32
GET home: "/"
This can be achieved by adding defaultType=member and defaultProcedureType=method to the Router type in the httprouter.cx file.
Like with structs / classes, it would be convenient if the HTTP router specifies a default type and default procedure type, so that instead of this:
a user can do:
This can be achieved by adding
defaultType=memberanddefaultProcedureType=methodto theRoutertype in thehttprouter.cxfile.