trakteerjs
    Preparing search index...

    Type Alias VerifyClientCallbackSync<Request>

    VerifyClientCallbackSync: (
        info: { origin: string; req: Request; secure: boolean },
    ) => boolean

    VerifyClientCallbackSync is a synchronous callback used to inspect the incoming message. The return value (boolean) of the function determines whether or not to accept the handshake.

    Type Parameters

    Type declaration

      • (info: { origin: string; req: Request; secure: boolean }): boolean
      • Parameters

        • info: { origin: string; req: Request; secure: boolean }

        Returns boolean