Interface Extension

An interface that must be satisfied to register extensions

Hierarchy

  • Extension

Methods

  • The extension name to go under 'extensions' in the request body.

    Returns

    The JSON key.

    Returns string

  • A function which is called when the request JSON is being formed. Returns the data to insert under this key.

    Returns

    The request JSON to send.

    Parameters

    • isInitial: boolean

      True when this is part of the initial request (send sticky params)

    Returns undefined | object

  • A function which is called when there is response JSON under this extension.

    Parameters

    • data: object

      The response JSON under the extension name.

    Returns any

Generated using TypeDoc