Documentation
    Preparing search index...

    Interface FirewallPersistence

    Firewall persistence — runtime calls these to save/load firewall config. Implementor decides storage backend (localStorage, file, DB, etc.). Only the firewall config is persisted; ephemeral counters are never stored.

    Store serialized config data; called after each policy mutation.

    Retrieve previously stored config, or null on first boot.

    interface FirewallPersistence {
        load(): string | null;
        persist(data: string): void;
    }
    Index

    Methods

    Methods