UMIS SDK
    Preparing search index...

    Interface Gateway

    What a gateway does with a scanned text: the decision and, when the relay was asked to open, how that went.

    interface Gateway {
        handle(
            text: string,
        ): Promise<
            { relay?: { ok: boolean; status: number }; result: VerificationResult },
        >;
    }
    Index
    • Parameters

      • text: string

      Returns Promise<{ relay?: { ok: boolean; status: number }; result: VerificationResult }>