@axonlabs/core
    Preparing search index...

    Interface UnloadRouteParams

    Type of input object of unloadRoute method.

    interface UnloadRouteParams {
        method?: keyof HttpMethods;
        route?: string;
        router?: AxonRouter;
    }
    Index

    Properties

    method?: keyof HttpMethods

    [Optional]

    Name of http method which you want to remove it's children routes from backend core.

    • GET
    • POST
    • PUT
    • PATCH
    • DELETE
    • OPTIONS
    route?: string

    A specific route which you want to remove it from backend core.

    router?: AxonRouter

    [Optional]

    Instance of router which you want to remove it's routes from backend core.