Namespace RDCore.Web.Endpoints
Classes
- RDWebAnnotations
The comment annotations of RDCore.Web: the endpoints of an RD-VBA module, with
'@Controller,'@KeptMachineand'@ControllerFactoryon the module and the HTTP method annotations,'@FromBodyand'@NewMachineon its procedures; who may reach them, with'@Authorizeand'@AllowAnonymouson the module or a procedure; and the services of a program, with'@Serviceon a class.
- RDWebEndpoint
An endpoint of an RD-VBA application: the procedure of a controller module that serves an HTTP method on a route.
- RDWebEndpointException
The annotations of a controller module declare an endpoint that cannot be served: its route is not a valid route template, or it names a route parameter that is not a parameter of the procedure.
- RDWebEndpointReader
Reads the endpoints a module declares from its annotations:
'@Controllerin its declarations section, or above the header of its block (Module Name,Class Name) for the module of a block of a file, with the'@KeptMachinethat names its machines' key, and an HTTP method annotation (HttpMethodOf(string)) immediately above each publicSuborFunctionthat serves one, with the'@FromBodythat names its body parameter and the'@NewMachinethat makes its key's machine.