Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Reconnect

Callable

  • Reconnect(request: Request): Promise<void>
  • Invoked when a network connection is lost. Should resolve when the network connection is re-established. NOTE: This method may be called multiple times while the connection is down; its logic should handle this scenario (e.g. only showing a dialog to the user once per outage).

    Parameters

    • request: Request

      The request to inspect.

    Returns Promise<void>

    A promise that will be resolved when the user's network connection is restored.