Cotal TypeScript packages
    Preparing search index...

    Function grantRefusal

    • Refuse a channel outside the session's read or post grant before any effect, so the broker's refusal and its subject never reach the caller. A session opened on no channel holds no grant. Either refusal ends with the front end's way to open a session that holds the channel. The broker remains the enforcement point.

      Parameters

      • grant: readonly string[]
      • channel: string
      • use: "read" | "post"
      • words: ChatWords

      Returns Refused | undefined