• Normalize data from the request object, accounting for framework differences.

    Parameters

    • req: PolymorphicRequest

      The request object from which to extract data

    • Optional options: {
          deps?: InjectedNodeDeps;
          include?: string[];
      }
      • Optional deps?: InjectedNodeDeps

        Injected, platform-specific dependencies

      • Optional include?: string[]

        An optional array of keys to include in the normalized data. Defaults to DEFAULT_REQUEST_INCLUDES if not provided.

    Returns ExtractedNodeRequestData

    An object containing normalized request data

Generated using TypeDoc