IFClite TypeScript API
    Preparing search index...

    Test helpers for hosts and panels: a scriptable viewer and transcript matching.

    interface FakeViewerOptions {
        capabilities?: (
            | "view.apply"
            | "view.capture"
            | "view.saved"
            | "clash.run"
            | "clash.decisions"
            | "connection.resume"
        )[];
        clashRuns?: ClashRunDelivery;
        handlers?: FakeHandlers;
        origin?: string;
        protocol?: ProtocolVersion;
        refuse?: HelloRefusal;
    }
    Index
    capabilities?: (
        | "view.apply"
        | "view.capture"
        | "view.saved"
        | "clash.run"
        | "clash.decisions"
        | "connection.resume"
    )[]
    clashRuns?: ClashRunDelivery
    handlers?: FakeHandlers
    origin?: string
    protocol?: ProtocolVersion
    refuse?: HelloRefusal

    Refuse every hello with this reason, whatever it says.