harp.controllers.routing

Inheritance diagram of harp.controllers.routing

class RoutingController[source]

Bases: object

RouterType

alias of Router

__init__(*, handle_errors=True, router=None)[source]
configure()[source]
create_router()[source]
handle_error(exc, *, status=500)[source]
RouterArguments = <harp.utils.arguments.Arguments object>
prefix = None
AnyMethodHandler(*paths, **opts)[source]
Parameters:

paths (str | Pattern)

ConnectHandler(*paths, **opts)[source]
Parameters:

paths (str | Pattern)

DeleteHandler(*paths, **opts)[source]
Parameters:

paths (str | Pattern)

GetHandler(*paths, **opts)[source]
Parameters:

paths (str | Pattern)

HeadHandler(*paths, **opts)[source]
Parameters:

paths (str | Pattern)

OptionsHandler(*paths, **opts)[source]
Parameters:

paths (str | Pattern)

PatchHandler(*paths, **opts)[source]
Parameters:

paths (str | Pattern)

PostHandler(*paths, **opts)[source]
Parameters:

paths (str | Pattern)

PutHandler(*paths, **opts)[source]
Parameters:

paths (str | Pattern)

RouteHandler(*paths, methods=None, **opts)[source]
Parameters:
RouterPrefix(prefix)[source]
TraceHandler(*paths, **opts)[source]
Parameters:

paths (str | Pattern)

get_exception_traceback_str(exc)[source]