featherbit UI
    Preparing search index...

    Interface Policy

    A node-graph policy: the request/response pipeline the gateway executes for a matched route.

    Compiled into a CompiledGraph and executed with success/error port routing by src/graph/engine.rs.

    interface Policy {
        edges: PolicyEdge[];
        error_handler?: string;
        name: string;
        nodes: PolicyNode[];
    }
    Index
    edges: PolicyEdge[]

    Directed connections between node ports.

    error_handler?: string

    Optional id of the node the engine jumps to on unrouted errors.

    name: string

    Unique policy name, referenced by Route.policy.

    nodes: PolicyNode[]

    Plugin instances making up the graph.