Methods
Static
handler
- handler(
prefix?: string,
): RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>> Returns RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
- handler(
registry?: Registry<"text/plain; version=0.0.4; charset=utf-8">,
prefix?: string,
): RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>> Parameters
Optional
registry: Registry<"text/plain; version=0.0.4; charset=utf-8">Optional
prefix: string
Returns RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
MetricsExpressMiddleware middleware