Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
/// <reference types="express" />
import { Timer, LoggingMetaType } from '@skava/tracing/dist/server';
import { ExpressRequest, ExpressResponse, NextFunction } from '../serverSideRender/typings';
export declare type ExpressRequestWithMeta = ExpressRequest & {
    timer?: Timer;
    meta?: LoggingMetaType;
};
export declare type ExpressResponseWithMeta = ExpressResponse & {
    meta?: LoggingMetaType;
};
export declare function decorateReqRes(req: ExpressRequestWithMeta, res: ExpressResponseWithMeta, args: {
    meta: LoggingMetaType;
    timer: Timer;
}): void;
export declare function tracingMiddleware(req: ExpressRequest, res: ExpressResponse, next: NextFunction): void;