Source code for minos.networks.decorators.definitions.http.rest

from typing import (
    Final,
)

from ..kinds import (
    EnrouteDecoratorKind,
)
from .abc import (
    HttpEnrouteDecorator,
)


[docs]class RestEnrouteDecorator(HttpEnrouteDecorator): """Rest Enroute class"""
[docs]class RestCommandEnrouteDecorator(RestEnrouteDecorator): """Rest Command Enroute class""" KIND: Final[EnrouteDecoratorKind] = EnrouteDecoratorKind.Command
[docs]class RestQueryEnrouteDecorator(RestEnrouteDecorator): """Rest Query Enroute class""" KIND: Final[EnrouteDecoratorKind] = EnrouteDecoratorKind.Query