Trakteer.js
    Preparing search index...

    Type Alias VerifyClientCallbackSync<Request>

    VerifyClientCallbackSync: (
        info: { origin: string; secure: boolean; req: Request },
    ) => 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; secure: boolean; req: Request }): boolean
      • Parameters

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

        Returns boolean