@oasisprotocol/client-ext-utils
    Preparing search index...

    Class ExtConnection

    A communication channel with an extension.

    It supports a basic request-response kind of interaction (web content is the requester). The meaning of the requests and responses are defined in another layer of abstraction.

    Use create to create one.

    Index
    messageFrame: Window
    nextId: number
    origin: string
    • Parameters

      • req: unknown

      Returns Promise<unknown>

    • Parameters

      • type: string
      • handler: (event: never) => void

      Returns void