Attributes and Helpers

Attributes to annotate routing paths.

Attributes

RoutingAttribute

class pyHTTPRequestRouter.Attributes.RoutingAttribute(path, httpMethods: pyHTTPInterface.HTTPMethods)[source]

GETRoute

class pyHTTPRequestRouter.Attributes.GETRoute(path)[source]

POSTRoute

class pyHTTPRequestRouter.Attributes.POSTRoute(path)[source]

PUTRoute

class pyHTTPRequestRouter.Attributes.PUTRoute(path)[source]

DELETERoute

class pyHTTPRequestRouter.Attributes.DELETERoute(path)[source]

Helpers

ReSTAPIMixin

class pyHTTPRequestRouter.Attributes.ReSTAPIMixin(**kwargs)[source]

See also

Base attribute class Attribute

Base class for all attributes from pyAttributes package.