Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SerializeMiddleware<Input, Output>

A factory function that creates functions implementing the {BuildHandler} interface.

Type parameters

  • Input: object

  • Output: object

Hierarchy

  • SerializeMiddleware

Callable

  • A factory function that creates functions implementing the {BuildHandler} interface.

    Parameters

    • next: SerializeHandler<Input, Output>

      The handler to invoke after this middleware has operated on the user input and before this middleware operates on the output.

    • context: HandlerExecutionContext

      Invariant data and functions for use by the handler.

    Returns SerializeHandler<Input, Output>