Function requestExtension

  • Builds request modification that adds new properties to request processing means.

    This is a helper function to avoid TypeScript limitation. It is a good idea to inline it.

    Type Parameters

    • TMeans

      A type of request processing means to modify.

    • TExt extends object

      A type of request processing means extension.

    Parameters

    • extension: TExt

      Request extension containing all the required properties.

    Returns RequestModification<TMeans, TExt>

    Request extension cast to RequestModification.

Generated using TypeDoc