Function addMiddleware

  • Add a middleware component to connection handling.

    Parameters

    Returns Promise<void>