• Parse provider method arguments, as sent by createHttpClient. Arguments themselves are not validated.

    Type Parameters

    • Handler extends ((...args: any) => any)

    Parameters

    • handlerFn: Handler

    Returns (<Args, ResponseBody>(handler: ProviderHandler<Args, ResponseBody, Handler>, logger: Logger) => ((req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction) => undefined | Response<any, Record<string, any>>))

      • <Args, ResponseBody>(handler: ProviderHandler<Args, ResponseBody, Handler>, logger: Logger): ((req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction) => undefined | Response<any, Record<string, any>>)
      • Type Parameters

        • Args = Parameters<Handler>

        • ResponseBody = Awaited<ReturnType<Handler>>

        Parameters

        Returns ((req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction) => undefined | Response<any, Record<string, any>>)

          • (req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction): undefined | Response<any, Record<string, any>>
          • Parameters

            • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
            • res: Response<any, Record<string, any>>
            • next: NextFunction

            Returns undefined | Response<any, Record<string, any>>

Generated using TypeDoc