- Preparing search index...
- The search index is not available
cardano-sdk
- providerHandler<Handler>(handlerFn: Handler): (<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
-
Handler extends ((...args: any) => any)
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>>
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>>
Parse provider method arguments, as sent by createHttpClient. Arguments themselves are not validated.