IFClite TypeScript API
    Preparing search index...

    Interface ViewerHello

    Viewer to host, on the port: the handshake accepted.

    interface ViewerHello {
        capabilities: (
            | "view.apply"
            | "view.capture"
            | "view.saved"
            | "clash.run"
            | "clash.decisions"
            | "connection.resume"
        )[];
        clashRuns: ClashRunDelivery;
        protocol: ProtocolVersion;
        seq?: number;
        stream?: string;
        type: "hello";
    }
    Index
    capabilities: (
        | "view.apply"
        | "view.capture"
        | "view.saved"
        | "clash.run"
        | "clash.decisions"
        | "connection.resume"
    )[]
    clashRuns: ClashRunDelivery
    protocol: ProtocolVersion
    seq?: number

    With stream: the number of the last event the viewer posted so far, where this connection starts.

    stream?: string

    With connection.resume, when the hello asked for it: the stream the events' numbers count in.

    type: "hello"